Tutorials video

From openrepgrid-wiki

Jump to: navigation, search

Contents


How to include a video on this site

YouTube

GoogleVideo Vimeo The users of www.openrepgrid.org are encouraged to provide video tutorials as it simplifies learning. To include a video it must first be uploaded to one of the video hosting sites like YouTube, GoogleVideos etc. Then you only need to add one line of code to the wiki page. Below the basics to do that are covered. There is much more documentation available on the web. Please consult the available documentation for special needs and customizations. www.openrepgrid.org uses the VideoFlash and the EmbedVideo extension. The following video hosting sites are currently supported:

Old version

www.openrepgrid.org uses the EmbedVideo extension. The following video hosting sites are currently supported:

Site Service Name
Dailymotion dailymotion
Div Share divshare
Edutopia edutopia
FunnyOrDie funnyordie
Google Video googlevideo
Interia interia or interiavideo
Revver revver
sevenload sevenload
TeacherTube teachertube
YouTube youtube and youtubehd

Vimeo videos are not yet supported.


Including a You Tube video

For example, to include the famous "evolution of dance" YouTube video, have a look at the browse address bar and copy the id. In this case it is dMH0bHeiRNg.

{{#ev:youtube|dMH0bHeiRNg}}


And to make it a bit smaller:

{{#ev:youtube|dMH0bHeiRNg|300}}



This is an embedded YouTubevideo!

To scale down to thumbnail size, on the right (or left) with a short description, you could use:

{{#ev:youtube|dMH0bHeiRNg|200|right|This is an embedded YouTube video!}}

Including a GoogleVideo

To include a google video copy the id from the browser bar. Note that it has a little minus at the beginning.

{{#ev:googlevideo|-3389980029353435416}}


Customizing the appearance

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 more information and customization consult http://www.mediawiki.org/wiki/Extension:EmbedVideo.

Personal tools