Difference between revisions of "How to embed videos into your articles"

From Shave Library
Jump to: navigation, search
(New page: Usage Once installed, you (or editors of your wiki) may begin embedding videos into any article. The parser extension expects to be called in either of the following ways: * {{#ev:...)
 
Line 1: Line 1:
Usage
+
Usage:
  
Once installed, you (or editors of your wiki) may begin embedding videos into any article.
 
  
 
The parser extension expects to be called in either of the following ways:
 
The parser extension expects to be called in either of the following ways:
  
     * {{#ev:service|id}} -or-
+
 
     * {{#ev:service|id|width}}  
+
     *<nowiki> {{#ev:service|id}}</nowiki> -or-
 +
     *<nowiki> {{#ev:service|id|width}}</nowiki>
  
 
Where:
 
Where:
Line 15: Line 15:
  
  
{{#ev:youtube|dMH0bHeiRNg}}
+
<nowiki> {{#ev:youtube|dMH0bHeiRNg}}</nowiki>
  
{{#ev:funnyordie|74|200}}
+
<nowiki> {{#ev:funnyordie|74|200}}</nowiki>
  
{{#ev:googlevideo|6486979190703380003}}
+
<nowiki> {{#ev:googlevideo|6486979190703380003}}</nowiki>
  
{{#ev:dailymotion|7tE9MbSfWo9YaeNRP|300}}
+
<nowiki> {{#ev:dailymotion|7tE9MbSfWo9YaeNRP|300}}</nowiki>
  
{{#ev:sevenload|Eh4mjir}}
+
<nowiki> {{#ev:sevenload|Eh4mjir}}</nowiki>
  
{{#ev:revver|233330}}
+
<nowiki> {{#ev:revver|233330}}</nowiki>

Revision as of 17:02, 26 September 2008

Usage:


The parser extension 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) 


{{#ev:youtube|dMH0bHeiRNg}}

{{#ev:funnyordie|74|200}}

{{#ev:googlevideo|6486979190703380003}}

{{#ev:dailymotion|7tE9MbSfWo9YaeNRP|300}}

{{#ev:sevenload|Eh4mjir}}

{{#ev:revver|233330}}