Template:EmbedVideo/doc: Difference between revisions

m
Text replacement - "(={2,})([^\s=])(.+)([^\s=])(={2,})" to "$1 $2$3$4 $5"
m (Text replacement - "(={2,})([^\s=])(.+)([^\s=])(={2,})" to "$1 $2$3$4 $5")
Line 1: Line 1:
The EmbedVideo Extension is a MediaWiki extension which adds parser functions called #ev and #evp for embedding video clips from popular video sharing services.
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==
== Usage ==


The EmbedVideo parser function expects to be called in any of the following ways:
The EmbedVideo parser function expects to be called in any of the following ways:
Line 19: Line 19:
* <tt>desc</tt> (optional) is a short description to display beneath the video when it is aligned
* <tt>desc</tt> (optional) is a short description to display beneath the video when it is aligned


==Examples==
== Examples ==


A video of this URL:
A video of this URL:
Line 33: Line 33:
<pre>{{#ev:youtube|R9u_BJXRyuI|100|left|super smash bros brawl in 3d dolphin emulator}}</pre>
<pre>{{#ev:youtube|R9u_BJXRyuI|100|left|super smash bros brawl in 3d dolphin emulator}}</pre>


==Supported Services==
== Supported Services ==


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