Help:Embed Video

From ManxWiki

Jump to: navigation, search

This tutorial applies to embeding videos that are hosted on media sharing websites such as YouTube.

At this time (15 Aug 2008) it is not possible to display videos uploaded directly to this website.

Contents

Supported Websites

The following websites host video files that can be embeded here:

YouTube
Revver
Google
DailyMotion
Funny or Die
Vimeo - See seperate instructions below

Embed Code

The parser extension expects to be called in either of the following ways:

{{#ev:service|id}}  or  {{#ev:service|id|width}}

Where:

  • service is the name of a video sharing service.
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

Note: The divider that appears between 'service' and 'id' is the vertical double dash symbol next to the 'Z' key. Shift + blackslash = |

YouTube Example

There is a video called 'My Ellan Vannin' on YouTube at http://www.youtube.com/watch?v=yqsPDQYa6sM&feature=related.

The ID is the code that appears after '?v=' and before the '&' (ampersand) so by entering the code
{{#ev:youtube|yqsPDQYa6sM}}
embeds the following video:


DailyMotion Example

There is a video called Tourist Trophy 2007 on DailyMotion at http://www.dailymotion.com/video/x32cfy_tourist-trophy-2007-isle-of-man-tt.

The ID is the code that appears after 'video/' and before the '_' (underscore) so by entering the code
{{#ev:dailymotion|x32cfy}}
embeds the following video:


Google Video Example

There is a video called BMW E30 M3 at Manx Rally on Google Videos at http://video.google.com/videoplay?docid=-6099395788798329564&ei=feSmSPb5EYLAigKk_fjJDw&q=manx&emb=1

The ID is the code that appears after 'docid=" and before the first '&' (ampersand) so by entering the code
 {{#ev:googlevideo|-6099395788798329564}}
embeds the following video:

Vimeo

Vimeo is a host website for high quality and high definition original content video uploads. Free membership is open to all non commercial video editors.

Vimeo members pride themselves on the work they publish and are willing to offer advice and support to new members.

Vimeo videos can not be embeded into the wiki using the above code, they require the following:

<video type="vimeo" id="xxxxxxx" position="left" width="390" height="370" desc="description">
Where id is the video id reference.

Unlike the previous code, "Width" and "Height" are compulsory in this code for Vimeo. Default placement is right aligned, so use "position=" with left or center to override the default.

For example, id="1204900" is for the following video by Phil Kneen

Peel by Phil Kneen of Bridge House Creative

External Links

Personal tools