Help:EmbedVideo

Fandom has been thoroughly pleased to announce the EmbedVideo feature, a "new" way to embed videos onto pages originally used on Gamepedia wikis, which is now available across all of Fandom.

Rather than "uploading" a video via the video embed tool and needing to maintain File: pages for each video, this tool allows for videos to be embedded onto pages using a simple wikitext parser function.

Step-by-step

 * Confirm that the video or audio file you wish to use is on the list of supported services — over 30 are supported, including all of the services supported by the original video embed tool.
 * Use the table to find the service name and the individual video's ID. With the exception of SoundCloud, the video ID is a piece of the URL where the video is located. For example, in the YouTube URLs https://youtu.be/Vois0RMtPHE or https://www.youtube.com/watch?v=Vois0RMtPHE, the ID would be . The table will help you identify the video ID from a given video service.
 * With the service name and ID in hand, use this syntax to make an unformatted video embed:

For our YouTube example, our parser function would be written as, which looks like what you see below:

SoundCloud exception
For SoundCloud embeds, the entire URL is the video ID, so if you wished to embed the same video using SoundCloud's player, you would use this:

Which produces this:

As a note, Fandom's previous SoundCloud extension used the  tag rather than EmbedVideo, so that tag is far more commonplace than the   parser function — as such, specific usage-instructions for that parser tag have been included in Help:Audio, the   tag has been feature of the EmbedVideo extension since version 2.7.0, so either method will produce the same embed.

Formatting your videos
All formatting settings that can currently be accomplished with the video embed tool can be accomplished with EmbedVideo too! This is the syntax:


 * dimensions is the width of your video, e.g.  for 200px-wide, or   for 200px-wide, 400px-tall.


 * alignment declares the embed alignment, either left, right, center, or inline — if undefined, the default is left-alignment without float — explicitly defining "left" or "right" will cause text to flow around the video. Example:


 * description is the caption of your video! It accepts generic wikitext, e.g.

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. Originally, it was a standalone extension used and built for Wowpedia.

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;vplayer /&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.

Advanced
The full breadth of this feature's capabilities is beyond the scope of this article, and can be viewed here. You can learn how to use  for embedding videos in templates,   to let EmbedVideo detect the service of your video for you, urlargs in the   function that let you control at what point in the video the player starts, and even parser tag alternative syntaxes such as   or.

Next pages

 * View the Gamepedia Help article for this feature, including extra examples
 * Learn how to add images to your wiki
 * Learn how to use footnotes and references in your articles

Further help and feedback
es:Ayuda:EmbedVideo fr:Aide:EmbedVideo hi:सहायता:EmbedVideo it:Aiuto:EmbedVideo ja:ヘルプ:EmbedVideo pt:Ajuda:EmbedVideo tr:Yardım:EmbedVideo uk:Довідка:Вбудовані відео zh:Help:嵌入影片