Help:Embedding Video
The wiki supports two video/audio playing extensions:
- Extension:EmbedVideo - for videos hosted on popular video sharing sites including youtube, youtubehd, dailymotion, edutopia, funnyordie, googlevdieo, inertia, revver, sevenload, and teachertube
- Extension:MediawikiPlayer - for wiki-hosted MP4 videos and MP3 audio. It can also play FLV files and remote MP3/MP4 files, and youtube clips.
See the links above or sections below for example usage.
Contents |
Extension:EmbedVideo - Play video from popular video sharing sites
The minimum syntax is as shown below:
{{#ev:service|id}}
Where
- service: the video sharing site; one of dailymotion, divshare,edutopia,funnyordie,googlevideo,interiavideo,revver,sevenload,teachertube,youtube and youtubehd
- id: the site specific id of the video to be played.
In addition, a width, alignment (left or right) and description can optionally be provided, as shown below
{{#ev:service|id|width}}
{{#ev:service|id|width|align}}
{{#ev:service|id|width|align|desc}}
{{#evp:service|id|desc}}
{{#evp:service|id|desc|align}}
{{#evp:service|id|desc|align|width}}For more information see Extension:EmbedVideo#Usage (Extension help). Note that the help indicates that Vimeo is supported, which is not true in the version on this site.
Examples
Minimum Syntax
{{#ev:youtube|YKumseMIY2U}}
Width, alignment and description
{{#ev:youtube|YKumseMIY2U|250|right|Description text for video}}
Description and alignment
{{#evp:youtube|YKumseMIY2U|Description text for video|right}}
Site examples
Below are some examples of the different sites being used. Note, not all sites have been tested.
Youtube
{{#ev:youtube|YKumseMIY2U}}
{{#ev:youtubehd|X38v0S2Y548}}
Dailymotion
{{#ev:dailymotion|xgc7ad_time-lapse-photography-with-the-qt-sdk-gmail-drive-hak5_tech}}
Funnyordie
{{#ev:funnyordie|b255f516fb}}
Revver
{{#ev:revver|1902727}}
Extension:MediawikiPlayer- play audio and video both locally and from video sharing sites
The extension is well documented here: Extension:MediawikiPlayer#Usage (Extension help). In addition to the cases listed below you can specify your own preview image, and use remote files and youtube.
Video player (simple) (mp4, flv)
<mediaplayer>http://www.yourdomain.com/mediafile.mp4</mediaplayer>
or
<mediaplayer>File:mediafile.mp4</mediaplayer>
The media player is loading...
Audio player (mp3)
<mp3player>http://www.yourdomain.com/mediafile.mp3</mp3player>
The media player is loading...
Video using arguments
<mediaplayer width='500' height='300'>http://www.yourdomain.com/mediafile.flv</mediaplayer>
The media player is loading...

