How To Embed a YouTube Video: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Arkalor
(moved How To Embed a YouTube Video to Help:How To Embed a YouTube Video: Moving to the Help namespace)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
You can embed a YouTube video using the video ID (the series of numbers/letters that are at the end of the page link following  '''<code>v=</code>''' ). The default size is 425 pixels wide, however you can optionally specify a width between 100 and 1024. The height automatically stays a fixed ratio of the width. Adding <nowiki>[[Category:Video]]</nowiki> at least once on any page with a video will allow easier searching.
#REDIRECT [[Help:How To Embed a YouTube Video]]
 
== Code ==
<pre>
<youtube v="VideoID" />
 
[[Category:Video]]
</pre>
 
<pre>
<youtube v="VideoID" width="300" />
 
[[Category:Video]]
</pre>
 
 
== Example ==
For example:
<pre>
<youtube v="uiC_XPpnn4k" />
</pre>
 
displays as:
 
<youtube v="uiC_XPpnn4k" />
 
[[Category:Help]]
[[Category:Video]]

Latest revision as of 18:40, 8 April 2014