Youtube-Videos einbinden FAQ: Unterschied zwischen den Versionen

Aus S12 Wiki
Wechseln zu: Navigation, Suche
(Usage)
Zeile 1: Zeile 1:
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}}</nowiki></tt> -or-
 
* <tt><nowiki>{{#ev:service|id|width}}</nowiki></tt>
 
* <tt><nowiki>{{#ev:service|id|width}}</nowiki></tt>
Zeile 15: Zeile 14:
  
 
''Note: See the [http://jimbojw.com/wiki/index.php?title=EmbedVideo_Extension Project Homepage] for more examples.''
 
''Note: See the [http://jimbojw.com/wiki/index.php?title=EmbedVideo_Extension Project Homepage] for more examples.''
 +
 +
[http://www.mediawiki.org/wiki/Extension:EmbedVideo Original FAQ]

Version vom 10. Februar 2010, 23:22 Uhr

  • {{#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.

[http://www.mediawiki.org/wiki/Extension:EmbedVideo Original FAQ]