Home Page

The list of supported video services

Back to Main Page

Dailymotion video

To embed Dailymotion video using code:
Example Link: http://www.dailymotion.com/embed/video/xnc7d9
Copy the code in red text and embed in Imgshow query below

[imgshow]q:name=dailymotion,code=xnc7d9[/imgshow]
  		
[imgshow q:name=dailymotion,code=xnc7d9]
  		
<?php
require_once 'class_imgshow.php';

$img = new imgshow();
echo $img->name('dailymotion')->p('code', 'xnc7d9')->load();

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

imgshow().name('dailymotion').p('code', 'xnc7d9').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('dailymotion').p('code', 'xnc7d9').load(function(result) {
		alert(result);
	});	
});  		
include('imgshow.js');

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

Visit Imgshow API Github Page for more information