Adding video: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
You can add video to any Physiopedia page as long as it has been uploaded to [hyyp://www.youtube.com YouTube] first.<br> | You can add video to any Physiopedia page as long as it has been uploaded to [hyyp://www.youtube.com YouTube] first.<br> | ||
To add video to a page | To add video to a page the video will nee to be added directly to the wikitext so '''click on the Wikitext link''' in the toolbar of the editing box. Then add the following to the page where you want the video to appear: | ||
*<tt><nowiki>{{#ev:service|id}}</nowiki></tt> -or- | *<tt><nowiki>{{#ev:service|id}}</nowiki></tt> -or- | ||
Line 18: | Line 14: | ||
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>{{#ev:youtube|dMH0bHeiRNg}}</pre> | <pre>{{#ev:youtube|dMH0bHeiRNg}}</pre> | ||
Which would give: | Which would give: | ||
{{#ev:youtube|dMH0bHeiRNg}} | {{#ev:youtube|dMH0bHeiRNg}} | ||
<br> | |||
And if you wanted scaled down to a smaller size, you could use: | And if you wanted scaled down to a smaller size, you could use: | ||
Line 28: | Line 24: | ||
Which would give: | Which would give: | ||
{{#ev:youtube|dMH0bHeiRNg|300}} | {{#ev:youtube|dMH0bHeiRNg|300}} | ||
<br> | |||
If you wish to add two videos side by side you will need to put them in a table like this: | |||
<pre>{| width="100%" cellspacing="1" cellpadding="1" align="center" | |||
|- | |||
|{{#ev:youtube|dMH0bHeiRNg|300}} | |||
|{{#ev:youtube|dMH0bHeiRNg|300}} | |||
|} | |||
</pre> |
Revision as of 10:44, 2 June 2009
You can add video to any Physiopedia page as long as it has been uploaded to [hyyp://www.youtube.com YouTube] first.
To add video to a page the video will nee to be added directly to the wikitext so click on the Wikitext link in the toolbar of the editing box. Then add the following to the page where you want the video to appear:
- {{#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)
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|100}}
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" align="center" |- |{{#ev:youtube|dMH0bHeiRNg|300}} |{{#ev:youtube|dMH0bHeiRNg|300}} |}