Difference between revisions of "MediaWiki:Embed www.youtube.com"

From Culture.si
Line 1: Line 1:
 
{{#custom:raw|<div class="video">
 
{{#custom:raw|<div class="video">
<object width="320" height="250"><param name="movie" value="http://www.youtube.com/v/Kk7UR5BiVFo&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{{{v}}}&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="320" height="250"></embed></object>
+
<object width="{{{width|320}}}" height="{{{height|250}}}"><param name="movie" value="http://www.youtube.com/v/Kk7UR5BiVFo&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{{{v}}}&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="{{{width|320}}}" height="{{{height|250}}}"></embed></object>
 
<p><a href="http://www.youtube.com/?v={{{v}}}">YouTube page</a></p>
 
<p><a href="http://www.youtube.com/?v={{{v}}}">YouTube page</a></p>
 
</div>
 
</div>
 
}}
 
}}

Revision as of 06:23, 22 February 2010