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

From Culture.si
m (1 revision: import dev changes)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<raw><div class="video">
+
{{#eval:html|<div class="video youtube">
<object width="425" height="344"><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="425" height="344"></embed></object>
+
<object width="{{{width|320}}}" height="{{{height|265}}}"><param name="movie" value="http://www.youtube.com/v/{{{v}}}&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|265}}}"></embed></object>
<p><a href="http://www.youtube.com/?v={{{v}}}">YouTube page</a></p>
+
<p><a href="http://www.youtube.com/?v={{{v}}}">Page on YouTube</a></p>
</div></raw>
+
</div>
 +
}}

Latest revision as of 00:30, 22 November 2012