Vorlage:YouTube: Unterschied zwischen den Versionen

Aus dachadobeconnect
Zur Navigation springen Zur Suche springen
 
Zeile 25: Zeile 25:
<html>
<html>
<iframe width="</html>{{{2|550}}}<html>" height="</html>{{{3|400}}}<html>" src="//www.youtube.com/embed/</html>{{{1}}}<html>" frameborder="0" allowfullscreen></iframe>
<iframe width="</html>{{{2|550}}}<html>" height="</html>{{{3|400}}}<html>" src="//www.youtube.com/embed/</html>{{{1}}}<html>" frameborder="0" allowfullscreen></iframe>
</html>
<html>
<iframe src="//www.youtube.com/embed/</html>{{{1}}}<html> width="</html>{{{2|550}}}<html>" height="</html>{{{3|400}}}<html>" frameBorder="0" webkitAllowFullScreen mozAllowFullscreen allowfullscreen></iframe>
</html>
</html>

Aktuelle Version vom 22. Mai 2014, 09:23 Uhr


Ziel

Einbindung von YouTube-Videos ([1]) im eigenen Wiki.


Usage

{{YouTube|YouTube-id}}
{{YouTube|YouTube-id|breite(in px)|höhe(in px)}}

Admin/Webmaster: In LocalSettings-Config

require_once( 'includes/DefaultSettingsFernUni.php' );
$wgRawHtml=true;

Autor

Nicole Engelhardt, ZMI, FernUni in Hagen (2014)


<html> <iframe width="</html>550<html>" height="</html>400<html>" src="//www.youtube.com/embed/</html>{{{1}}}<html>" frameborder="0" allowfullscreen></iframe> </html>