Adding video

You can add video to any Physiopedia page as long as it has been uploaded to a video sharing service, such as YouTube or Vimeo first.

Unfortunately it is not as simple as just adding the link that the video sharing service provides to the page that you are editing. To add video to a page it will need to be added directly to the source code. So first click on the Edit Source link under the Edit drop down menu from top navigation bar.  Then add the following to the page where you want the video to appear:

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

Where:

  • id is the id of the video to include (id can be found in the URL on the video's page in YouTube) for example, https://www.youtube.com/watch?v=dMH0bHeiRNg where the bit in bold is the id.
  • service service is the name of a video sharing service (the following video sharing services are supported: Vimeo, YouTube)
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

For example, to include the famous "evolution of dance" YouTube video, you'd enter:

{{#ev:youtube|dMH0bHeiRNg}}

Which would give:


And if you wanted scaled down to a smaller size, you could use:

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

Which would give:


If you wish to add two videos side by side you will need to put them in a table like this:

{| width="100%" cellspacing="1" cellpadding="1" 
|-
|{{#ev:youtube|dMH0bHeiRNg|300}} 
|{{#ev:youtube|dMH0bHeiRNg|300}}
|}

Which would look like this: