Vorlage:YouTube: Unterschied zwischen den Versionen

Aus dachadobeconnect
Zur Navigation springen Zur Suche springen
Zeile 22: Zeile 22:


</noinclude>
</noinclude>
<html>
<iframe src="http://www.youtube.com/embed/</html>{{{1}}}<html> width="</html>{{{2|550}}}<html>" height="</html>{{{3|400}}}<html>" frameBorder="0" webkitAllowFullScreen mozAllowFullscreen allowfullscreen></iframe>
</html>

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