How To Embed a YouTube Video: Difference between revisions

From My Wiki
Jump to navigation Jump to search
imported>Tlosk
No edit summary
imported>Tlosk
No edit summary
 
(9 intermediate revisions by the same 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.
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>''' ). Adding <nowiki>[[Category:Video]]</nowiki> at least once on any page with a video will allow easier searching.
 
Other video sites are supported as well as other options (sizing, alignment), for details see '''[[How To Embed a YouTube Video/Details]]'''.


== Code ==
== Code ==
<pre>
<pre>
<youtube v="VideoID" />
<youtube>VideoID</youtube>


[[Category:Video]]
[[Category:Video]]
</pre>
</pre>
<pre>
<youtube v="VideoID" width="300" />
[[Category:Video]]
</pre>


== Example ==
== Example ==
For example:
For example:
<pre>
<pre>
<youtube v="uiC_XPpnn4k" />
<youtube>uiC_XPpnn4k</youtube>
</pre>
</pre>


displays as:
displays as:


<youtube v="uiC_XPpnn4k" />
<youtube>uiC_XPpnn4k</youtube>
 


[[Category:Help]]
[[Category:Help]]
[[Category:Video]]

Latest revision as of 00:17, 5 October 2012

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 v= ). Adding [[Category:Video]] at least once on any page with a video will allow easier searching.

Other video sites are supported as well as other options (sizing, alignment), for details see How To Embed a YouTube Video/Details.

Code

<youtube>VideoID</youtube>

[[Category:Video]]

Example

For example:

<youtube>uiC_XPpnn4k</youtube>

displays as:

<youtube>uiC_XPpnn4k</youtube>