Difference between revisions of "Youtube"

From Classic Boat Library
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
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.
+
<nowiki>{{#ev:youtube|QKD--noRx0k}}</nowiki>
{{#ev:youtube|QKD--noRx0k
 
  
  
{{#ev:youtube|QKD--noRx0k}} the code is within these marks: "
+
{{#ev:youtube|QKD--noRx0k}}  
  
 
The EmbedVideo parser function expects to be called in either of the following ways:
 
The EmbedVideo parser function expects to be called in either of the following ways:
  
    * {{#ev:service|id}} -or-
+
<nowiki>    * {{#ev:service|id}} -or-
     * {{#ev:service|id|width}}
+
     * {{#ev:service|id|width}}</nowiki>
  
 
Where:
 
Where:

Latest revision as of 23:25, 11 December 2009

You can embed a Youtube video.

Below is just an example of how to embed a youtube video (use sparingly).

{{#ev:youtube|QKD--noRx0k}}


{{#ev:youtube|QKD--noRx0k}}

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}}