Template:EmbedVideo/doc

The EmbedVideo Extension is a MediaWiki extension which adds parser functions called #ev and #evp for embedding video clips from popular video sharing services.

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

Where:
 * service is the name of a video sharing service (See "service name" in the list below)
 * id</tt> is the id of the video to include
 * width</tt> (optional) is the width in pixels of the viewing area (height will be determined automatically)
 * align</tt> (optional) is an alignment (float) attribute. May be "left" or "right".
 * desc</tt> (optional) is a short description to display beneath the video when it is aligned

Examples
A video of this URL:

http://www.youtube.com/watch?v=R9u_BJXRyuI

Would end up like this with the EmbedVideo plugin:

It could be further modified by reducing it's size, aligning it, etc etc, as outlined above. That video at 100px wide, left alignment, and a description, would be like so:

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