Extension:EmbedVideo

EmbedVideo is a default MediaWiki extension that allows for embedding videos.

The master documentation for EmbedVideo is available on MediaWiki.

Example Usage

 * See also: Extension:EmbedVideo/Example


 * Embedding videos on Gamepedia wikis is possible because of the MediaWiki default extension, EmbedVideo.
 * For this example, we'll be using the front page of the Help Wiki and the video in the "How To Video" block.
 * If you look at the edit page, you'll notice that the syntax looks like this:  -- to break this down, first, you call the parser function with   (which easily stands for embed video) and then a colon to introduce the service where the video is coming from.
 * This example is from YouTube. Other popular video services are also available for embedding. For a full list, see the extension page from MediaWiki's site.
 * The service name is followed by a pipe and then the video's unique identifier.
 * If you're not sure how to find the identifier, here is how. Go to the video's page (  in our example ) and look at the url in the address bar. Everything after the equals sign  is the identifier for this video. Add this after the pipe. Everything goes in between two sets of curly brackets (  and  ).

Tags
The EmbedVideo parser function expects to be called in any of the following ways:

#ev - Classic Parser Tag


However, if needed optional arguments may be left blank by not putting anything between the pipes:

Support for VideoLink Tags
Support for the unmaintained VideoLink extension’s tags has been added since version 2.5.

From the original extension documentation:

The VideoLink extension allows embedding of YouTube videos in articles; allowing for multiple linked videos to be played in a single embedded video player, first shown when a user clicks on a video link.

The &lt;evlplayer /&gt; specifies where the player should appear within the page, and the parser function allows creation of links that load a specific video.

- Tag Hook for Video Container
Note that the use of the  tag is also acceptable here for backwards compatibility.

This evlplayer tag is used to position the video player container within the page.

&lt;evlplayer id=&quot;player id&quot; w=&quot;width&quot; h=&quot;height&quot; class=&quot;class&quot; style=&quot;style&quot;&gt;default content&lt;/evlplayer&gt;

A default video can be set to fill the container by default instead of default content as well.

&lt;evlplayer id=&quot;player1&quot; w=&quot;480&quot; h=&quot;360&quot; service=&quot;youtube&quot; defaultid=&quot;pSsYTj9kCHE&quot; /&gt;

An important caveat to make note of, is that the  and   attributes only effect the video that is being included into the container div, and not the actual container. For styling of the container, please use the  or   attributes.

- Parser Function for Video Links
Note that the use of the  parser function is also acceptable here for backwards compatibility.

In addition to all of the attributes supported by the  tag, these specific attributes apply to the   (and  ) tags. To maintain backwards compatibility, if you do not define a  then   is assumed.