Youtube-Videos einbinden FAQ: Unterschied zwischen den Versionen
Aus S12 Wiki
(Die Seite wurde neu angelegt: „== Usage == The EmbedVideo parser function expects to be called in either of the following ways: * <tt><nowiki>{{#ev:service|id}}</nowiki></tt> -or- * <tt><nowik…“) |
(kein Unterschied)
|
Version vom 10. Februar 2010, 23:21 Uhr
Usage
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 thumbnail size, you could use:
{{#ev:youtube|dMH0bHeiRNg|100}}
Note: See the [http://jimbojw.com/wiki/index.php?title=EmbedVideo_Extension Project Homepage] for more examples.