Widget:YouTube: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
(von http://www.mediawikiwidgets.org/YouTube)
(kein Unterschied)

Version vom 7. Februar 2012, 05:19 Uhr

This widget allows you to add YouTube video player to your wiki page.

It was created by Yaron Koren.

Using this widget

This widget allows you to add YouTube video player to your wiki page.

To insert this widget, use the following code:

 {{#widget:YouTube|id=<video id>}}

Parameters

  • id - video id (from the URL)
  • height and width define view dimensions, 420x350 is default

Sample result

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:YouTube article.