Différences entre les versions de « Widget:Daily Motion »

31 octets supprimés ,  7 janvier 2018 à 11:57
aucun résumé de modification
Ligne 14 : Ligne 14 :
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).
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 ==
== Sample result ==
{{#widget:{{PAGENAME}}|id=x5c4iy}}
{{#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="//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><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="//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>
5 414

modifications