Difference between revisions of "Youtube"
From Classic Boat Library
(Created page with 'You can embed a Youtube video. Below is just an example of how to embed a youtube video (use sparingly). {{#ev:youtube|QKD--noRx0k}} the code is within these marks: " "{{#e…') |
m |
||
Line 2: | Line 2: | ||
Below is just an example of how to embed a youtube video (use sparingly). | Below is just an example of how to embed a youtube video (use sparingly). | ||
+ | |||
+ | Use this code, put {{ on the left and put }} on the right. | ||
+ | {{#ev:youtube|QKD--noRx0k | ||
{{#ev:youtube|QKD--noRx0k}} the code is within these marks: " | {{#ev:youtube|QKD--noRx0k}} the code is within these marks: " | ||
+ | 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: | ||
− | + | <nowiki>{{#ev:youtube|dMH0bHeiRNg}}</nowiki> |
Revision as of 23:22, 11 December 2009
You can embed a Youtube video.
Below is just an example of how to embed a youtube video (use sparingly).
Use this code, put Template:On the left and put on the right. {{#ev:youtube|QKD--noRx0k
{{#ev:youtube|QKD--noRx0k}} the code is within these marks: "
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}}