Adding video: Difference between revisions
Rachael Lowe (talk | contribs) (New page: adding video) |
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> | |||
To add video to a page follow these instructions: | |||
#'''Click on the Edit tab''' at the top of the 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: <nowiki>{{#ev:youtube|IwBW-X4n1fU|300}} </nowiki> | |||
The EmbedVideo parser function expects to be called in either of the following ways: | |||
*<tt><nowiki>{{#ev:service|id}}</nowiki></tt> -or- | |||
*<tt><nowiki>{{#ev:service|id|width}}</nowiki></tt> | |||
Where: | |||
*<tt>service</tt> is the name of a video sharing service. | |||
*<tt>id</tt> is the id of the video to include | |||
*<tt>width</tt> (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: | |||
<pre>{{#ev:youtube|dMH0bHeiRNg}}</pre> | |||
And if you wanted scaled down to a smaller size, you could use: | |||
<pre>{{#ev:youtube|dMH0bHeiRNg|100}}</pre> | |||
''Note: See the [http://jimbojw.com/wiki/index.php?title=EmbedVideo_Extension Project Homepage] for more examples.'' |
Revision as of 10:37, 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 follow these instructions:
- Click on the Edit tab at the top of the 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:youtube|IwBW-X4n1fU|300}}
The EmbedVideo parser function 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)
For example, to include the famous "evolution of dance" YouTube video, you'd enter:
{{#ev:youtube|dMH0bHeiRNg}}
And if you wanted scaled down to a smaller size, you could use:
{{#ev:youtube|dMH0bHeiRNg|100}}
Note: See the Project Homepage for more examples.