Home Page

The list of supported video services

Back to Main Page

Youtube video

To embed Youtube video using code:
Example Link: http://www.youtube.com/watch?v=wq7ftOZBy0E
Copy the code in red text and embed in Imgshow query below

[imgshow]q:name=youtube,k=wq7ftOZBy0E[/imgshow]
  		
[imgshow q:name=youtube,k=wq7ftOZBy0E]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('youtube')->p('k', 'wq7ftOZBy0E')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('youtube').p('k', 'wq7ftOZBy0E').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('youtube').p('k', 'wq7ftOZBy0E').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('youtube').p('k', 'wq7ftOZBy0E').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information

To embed Youtube video using keyword:
Getting the Youtube video title and put in below Imgshow query

[imgshow]q:name=youtube,k=Girl Generation I got a boy[/imgshow]
  		
[imgshow q:name=youtube,k=Girl Generation I got a boy]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('youtube')->p('k', 'Girl Generation I got a boy')->load();

?>  		
var imgshow = require('imgshow');

imgshow().name('youtube').p('k', 'Girl Generation I got a boy').load(function(result) {
	console.log(result);
});
  		
var imgshow = require('./imgshow.js');

var win = Ti.UI.createWindow({title:'Imgshow Client'});
var btn = Ti.UI.createButton({left:5,top:5,right:5,bottom:5,title:'Show Me Result'});
btn.addEventListener('click', function() {
	imgshow().name('youtube').p('k', 'Girl Generation I got a boy').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

if(session.ready()) {
	session.answer();
	util.say('Please hold while we querying');
	
	imgshow().name('youtube').p('k', 'Girl Generation I got a boy').load(function(message) {
		util.say('the result is ' + message);
	});
}
  		

Visit Imgshow API Github Page for more information