Youtube-Videos einbinden FAQ: Unterschied zwischen den Versionen

Aus S12 Wiki
Wechseln zu: Navigation, Suche
(Usage)
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
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 14: Zeile 13:
 
<pre>{{#ev:youtube|dMH0bHeiRNg|100}}</pre>
 
<pre>{{#ev:youtube|dMH0bHeiRNg|100}}</pre>
  
''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]

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

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