Template:Youtube/doc

Revision as of 08:18, 24 April 2012 by Gboyers (talk | contribs) (New Page: "This template embeds 1 or 2 YouTube videos into a page. Note that you can also use {{template|YoutubeAudio}} to hide the video and use YouTube as an audio player. ;Parameters <pre> ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template embeds 1 or 2 YouTube videos into a page.

Note that you can also use {{YoutubeAudio}} to hide the video and use YouTube as an audio player.

Parameters
{{youtube
|video1 = First YouTube video ID
|title1 = Video title (optional)
|width1 = Width of video (optional, default 500 pixels)
|video2 = Second YouTube video ID
|title2 = Video title (optional)
|width2 = Width of video (optional, default 500 pixels)
}}
Example
{{youtube|video1=MpmDawqOfqs|title1=GTA Vice City trailer}}





GTA Vice City trailer
{{#ev:youtube|MpmDawqOfqs|500}}