👉 Boards of Canada’s Vibrations - a playlist by Moz and Fredd-E 🎧

artists mentioned by Boards of Canada in their interviews

 Actions

Widget

Difference between revisions of "Daily Motion"

m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
βˆ’
This widget allows you to add [http://www.dailymotion.com/ Daily Motion] video player to your wiki page.
+
<noinclude>
  
βˆ’
It's created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] as a replacement for [[mediawikiwiki:Extension:VideoFlash|VideoFlash extension]].
+
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|id=x5c4iy|width=420|height=336}}</nowiki>
  
βˆ’
To insert this widget, use the following code:
+
</noinclude>
  
βˆ’
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
+
<includeonly><object width="<!--{$width|default:420|escape:'html'}-->" height="<!--{$height|default:336|escape:'html'}-->"><param name="movie" value="http://www.dailymotion.com/swf/<!--{$id|escape:'urlpathinfo'}-->&v3=1&colors=background:DDDDDD;glow:FFFFFF;foreground:333333;special:FFC300;&related=0"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/<!--{$id|escape:'urlpathinfo'}-->&v3=1&colors=background:DDDDDD;glow:FFFFFF;foreground:333333;special:FFC300;&related=0" type="application/x-shockwave-flash" width="<!--{$width|default:420|escape:'html'}-->" height="<!--{$height|default:336|escape:'html'}-->" allowFullScreen="true" allowScriptAccess="always"></embed></object></includeonly>
βˆ’
|id=x5c4iy
 
βˆ’
|width=420
 
βˆ’
|height=336
 
βˆ’
}}</nowiki>
 
βˆ’
 
 
βˆ’
Width and hight are optional, 420x336 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above).
 
βˆ’
 
 
βˆ’
{{Template:Copy to your site}}
 
βˆ’
== Sample result ==
 
βˆ’
{{#widget:{{PAGENAME}}|id=x5c4iy}}
 
βˆ’
</noinclude><includeonly><object width="<!--{$width|default:420|escape:'html'}-->" height="<!--{$height|default:336|escape:'html'}-->"><param name="movie" value="http://www.dailymotion.com/swf/<!--{$id|escape:'urlpathinfo'}-->&v3=1&colors=background:DDDDDD;glow:FFFFFF;foreground:333333;special:FFC300;&related=0"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/<!--{$id|escape:'urlpathinfo'}-->&v3=1&colors=background:DDDDDD;glow:FFFFFF;foreground:333333;special:FFC300;&related=0" type="application/x-shockwave-flash" width="<!--{$width|default:420|escape:'html'}-->" height="<!--{$height|default:336|escape:'html'}-->" allowFullScreen="true" allowScriptAccess="always"></embed></object></includeonly>
 
  
 
<noinclude>
 
<noinclude>
 
[[Category:Widgets]]
 
[[Category:Widgets]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:37, 10 May 2013


{{#widget:Daily Motion|id=x5c4iy|width=420|height=336}}