6 459
modifications
Modifications
aucun résumé de modification
<noinclude>This widget allows you to add [http://www.dailymotion.com/ Daily Motion] video player to your wiki page. It's created by [[mediawikiwiki:User:Sergey Chernyshev|Sergey Chernyshev]] as a replacement for [[mediawikiwiki:Extension:VideoFlash|VideoFlash extension]]. To insert this widget, use the following code: <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>|idiframe src=x5c4iy|width=640|height=360}}</nowiki> Width and hight are optional, 640x360 is a default, "id" is a first part of the file name in page URL (before first underscore, see example above). </noinclude><includeonly><object width="<!--{$width|default:640|escape:'html'}-->" height="<!--{$height|default:360|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/swfvideo/<!--{$id|escape:'urlpathinfo'}-->&v3=1&colors=background:DDDDDD;glow:FFFFFF;foreground:333333;special:FFC300;&related=0" typeallowfullscreen="application/x-shockwave-flash" width="<!--{$width|default:640|escape:'html'}-->" height=480"<!--{$height|default:360|escape:'html'}-->" allowFullScreen="true270" allowScriptAccessframeborder="always0"></embed></object></includeonlyiframe>