Extension:EmbedVideo (fork)

The EmbedVideo extension is a MediaWiki extension which adds a parser function called  and various parser tags like   for embedding video clips from various video sharing services.

It also adds video and audio media handlers to support transforming standard  file links into embedded HTML5   and   tags.

This privacy enhanced fork adds a toggleable setting that only loads external content after the user gave explicit consent by clicking the video.

Do note that thumbnails are still fetched from the respective service, which results in a connection to an external url. This behaviour can be disabled by setting  to.

Media Handler
For locally uploaded content the process for displaying it on a page is the same as an image. See the image syntax documentation on MediaWiki.org for complete reference on this feature.

This example would display a video in page using a HTML5  tag. To specify the start and end timestamps in the media use the start and end parameters. The timestamp can be formatted as one of: ss, :ss, mm:ss, hh:mm:ss, or dd:hh:mm:ss. Additionally, a cover image can be set for video files by specifying a  key.

Available options
The following options are available when using the media handler for local files.

Options are added to the wikitext like  or.


 * loop
 * Loops the audio / video
 * autoplay
 * Automatically plays the file
 * nocontrols
 * Disables the control elements

Options only available for video files:


 * poster / cover
 * Sets a local image file as the cover of the video
 * muted
 * Mutes the audio track of the video (required for autoplay)
 * gif
 * Special option that sets autoplay, muted, loop and nocontrols e.g. makes the video behave like a gif

When  is enabled two additional options are available


 * title
 * Title of the video
 * description
 * Description shown below the video

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:



Alternatively each parameter can be used in any order as a named parameter. The following parameter are available:


 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true
 * This only has an effect if  is set to true

Do note mixing named and unnamed parameters will require you to add all unnamed parameters (and blanks) in the previously mentioned order.

E.g. using named id and unnamed description /

Supported Services
As of version 3.x, EmbedVideo supports embedding video content from the following services:

New Services
New services can be requested by using the following link or clicking.