Vorlage:YouTube: Unterschied zwischen den Versionen

Aus dachadobeconnect
Zur Navigation springen Zur Suche springen
Zeile 23: Zeile 23:
</noinclude>
</noinclude>


<html>
<iframe width="560" height="315" src="//www.youtube.com/embed/AX5m5swD-QU" frameborder="0" allowfullscreen></iframe>
</html>
<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>
<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>

Version vom 22. Mai 2014, 09:19 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="560" height="315" src="//www.youtube.com/embed/AX5m5swD-QU" frameborder="0" allowfullscreen></iframe> </html> <html> <iframe src="//www.youtube.com/embed/</html>{{{1}}}<html> width="</html>550<html>" height="</html>400<html>" frameBorder="0" webkitAllowFullScreen mozAllowFullscreen allowfullscreen></iframe> </html>