Help:YouTube

From the Super Mario Wiki, the Mario encyclopedia
Revision as of 23:23, May 11, 2012 by Porplemontage (talk | contribs)
Jump to navigationJump to search

Here on the wiki, we have a YouTube extension installed. You may take any video from YouTube and put it on the wiki to play. However, there is one rule:

YOUTUBE VIDEOS SHOULD ONLY BE EMBEDDED IN YOUR USER PAGE, NOT ON ANY ARTICLE, TEMPLATE, OR ANY OTHER MAINSPACE. Certain YouTube videos can be used as reference links in the reference section of articles, but do not embed the video in the article itself.

Embedding Videos

To include videos, you must take the ID of the video; which can be found in the URL after the v= text, and put it in between <youtube> tags. So for this E3 2007 demo of Super Mario Galaxy, the video ID is G2Rpurw8WG0. Here's what the embed looks like, with the code used:

<youtube>qA0vLrwuQHE</youtube>

<youtube>G2Rpurw8WG0</youtube>

Video Size

The width and height attributes can be defined to specify custom dimensions. For example:

<youtube width="300" height="200">qA0vLrwuQHE</youtube>

<youtube width="300" height="200">qA0vLrwuQHE</youtube>