44,438
edits
(→Videos: Updated to use the YouTube video widget.) |
|||
Line 48: | Line 48: | ||
==Videos== | ==Videos== | ||
YouTube videos can be embedded in a page with: <tt><nowiki>{{#widget:youtube|id=<id>}}</nowiki></tt>. | |||
Besides the ID parameter, which points to the YouTube video ID, you can also include any of the following: | |||
* <tt> | * <tt>width=<width></tt>: width in pixels of the viewing area. | ||
* <tt>id</tt> is the | * <tt>height=<height></tt>: height in pixels of the viewing area. If not present, it is calculated automatically. | ||
* <tt> | * <tt>playlist=<id></tt>: embeds the first video in the specified playlist, and shows the rest of the videos after. With this, the <tt>id</tt> parameter is ignored. | ||
* <tt> | * <tt>start=<time></tt>: makes the video start at the specified number of seconds. | ||
* <tt> | * <tt>end=<time></tt>: makes the video end at the specified number of seconds. | ||
* <tt>thumb</tt>: makes the video show up in a thumbnail, like you would with an image. | |||
* <tt>left</tt>: aligns the video to the left of the page. | |||
* <tt>right</tt>: aligns the video to the right of the page. | |||
* <tt>caption=<text></tt>: a short description of the video. It shows up beneath it. | |||
The number of videos used in articles should be kept to a minimum, and used only where necessary and useful. Examples of this are videos of glitches, which are easier to understand through a video, or | The number of videos used in articles should be kept to a minimum, and used only where necessary and useful. Examples of this are videos of glitches, which are easier to understand through a video, or prerelease material (though the text should not rely on videos for understanding, to cater for those who cannot watch them). | ||
==Audio== | ==Audio== |