Template:Video

From OOGEEP

Jump to: navigation, search

Template:YouTube Thumb This template can be used to embed playable YouTube videos to the right of a page, just like an image thumbnail. It can also be used to embed full-size YouTube videos on a page.

[edit] Implementing

{{YouTube Thumb|v=video ID|description}}

[edit] Optional parameters

If the width is not specified, the default of 180 will be used (normal image thumbnail size). To change the width, add the parameter:

|width=number


To make the video start right when the page loads, add:

|autoplay=yes


To make the YouTube video display as a normal-sized video on the page and not a right-aligned thumbnail, use:

|thumb=no

Note that non-thumbnail videos will not have a description, so including one for them is unnecessary. The default width for these videos is 350 but may also be changed using the |width= parameter.