Template:Youtube



This template will embed a video inside an article.

Syntax
Basic:

With a defined thumbnail width:


 * YouTube Video ID: The YouTube video id of the video to include.
 * width: Width of the video, in pixels. Height is calculated based on ratio. Default is 512px.
 * widths: If specified, must be a list of hyphen-separated integers representing possible video widths (Example: ). The video size will be based on the browser window size and the ratio of the video. If left unspecified, the video will stay at the value of the   attribute.
 * align: Horizontal alignment of video. Default is left.
 * ratio: Ratio of embedded video, with  as separator (Example:  ). Default is.
 * hd: Whether HD should be turned on or off by default. Default is to let YouTube decide. YouTube users may override this value in their YouTube preferences. This parameter can be set to on or off.
 * audio: Whether this video should be presented as an audio file (display only the seek bar, no video). This parameter can be set to on or off.