Difference between revisions of "Help:Embed Videos"
Jump to navigation
Jump to search
SamSteiner (talk | contribs) (Created page with "__TOC__ plugin home: http://www.mediawiki.org/wiki/Extension:EmbedVideo The EmbedVideo function will create a link to video/audio material on Youtube, Vimeo and a few other s...") |
SamSteiner (talk | contribs) |
||
Line 7: | Line 7: | ||
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: | ||
− | * {{#ev:service|id}} | + | * <nowiki>{{#ev:service|id}}</nowiki> |
− | * {{#ev:service|id|width}} | + | * <nowiki>{{#ev:service|id|width}}</nowiki> |
− | * {{#ev:service|id|width|align}} | + | * <nowiki>{{#ev:service|id|width|align}}</nowiki> |
− | * {{#ev:service|id|width|align|desc}} | + | * <nowiki>{{#ev:service|id|width|align|desc}}</nowiki> |
− | * {{#evp:service|id|desc}} | + | * <nowiki>{{#evp:service|id|desc}}</nowiki> |
− | * {{#evp:service|id|desc|align}} | + | * <nowiki>{{#evp:service|id|desc|align}}</nowiki> |
− | * {{#evp:service|id|desc|align|width}} | + | * <nowiki>{{#evp:service|id|desc|align|width}}</nowiki> |
Where: | Where: | ||
Line 24: | Line 24: | ||
For example, to include the famous "evolution of dance" YouTube video, you'd enter: | For example, to include the famous "evolution of dance" YouTube video, you'd enter: | ||
− | + | <pre> | |
− | + | <nowiki>{{#ev:youtube|dMH0bHeiRNg}}</nowiki> | |
− | + | </pre> | |
And if you wanted scaled down to thumbnail size, on the right with a short description, you could use: | And if you wanted scaled down to thumbnail size, on the right with a short description, you could use: | ||
− | + | <pre> | |
− | + | <nowiki>{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}</nowiki> | |
− | + | </pre> | |
An example in GAMEO can be seen at [[Calvary Mennonite Church (Paden, Oklahoma, USA)]]. | An example in GAMEO can be seen at [[Calvary Mennonite Church (Paden, Oklahoma, USA)]]. | ||
Line 41: | Line 41: | ||
! Site !! Service Name | ! Site !! Service Name | ||
|- | |- | ||
− | | Dailymotion || dailymotion | + | | [http://www.dailymotion.com/ Dailymotion] || dailymotion |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | | | + | | [http://edutopia.org Edutopia] || edutopia |
|- | |- | ||
− | | | + | | [http://www.funnyordie.com/ FunnyOrDie] || funnyordie |
|- | |- | ||
− | | | + | | [http://video.google.com/ Google Video] || googlevideo |
|- | |- | ||
− | | | + | | [http://interia.pl/ Interia] || interia or interiavideo |
|- | |- | ||
− | | sevenload || sevenload | + | | [http://www.myvideo.de/ sevenload] || sevenload |
|- | |- | ||
− | | TeacherTube || teachertube | + | | [http://teachertube.com/ TeacherTube] || teachertube |
|- | |- | ||
− | | YouTube || youtube and youtubehd | + | | [https://www.youtube.com/ YouTube] || youtube and youtubehd |
|- | |- | ||
− | | Vimeo || vimeo | + | | [https://vimeo.com/ Vimeo] || vimeo |
|} | |} |
Revision as of 18:43, 11 August 2016
plugin home: http://www.mediawiki.org/wiki/Extension:EmbedVideo
The EmbedVideo function will create a link to video/audio material on Youtube, Vimeo and a few other similar sites
Usage
The EmbedVideo parser function expects to be called in any of the following ways:
- {{#ev:service|id}}
- {{#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}}
Where:
- service is the name of a video sharing service (See "service name" in the list below)
- 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)
- align (optional) is an alignment (float) attribute. May be "left" or "right".
- desc (optional) is a short description to display beneath the video when it is aligned
For example, to include the famous "evolution of dance" YouTube video, you'd enter:
{{#ev:youtube|dMH0bHeiRNg}}
And if you wanted scaled down to thumbnail size, on the right with a short description, you could use:
{{#ev:youtube|dMH0bHeiRNg|100|right|This is an embedded video!}}
An example in GAMEO can be seen at Calvary Mennonite Church (Paden, Oklahoma, USA).
Supported Services
As of version 1.0, EmbedVideo supports embedding video content from the following services:
Site | Service Name |
---|---|
Dailymotion | dailymotion |
Edutopia | edutopia |
FunnyOrDie | funnyordie |
Google Video | googlevideo |
Interia | interia or interiavideo |
sevenload | sevenload |
TeacherTube | teachertube |
YouTube | youtube and youtubehd |
Vimeo | vimeo |