From PvXwiki
Jump to: navigation, search

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

It was created by Yaron Koren.

Using this widget

To insert this widget, use the following code:

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


All parameters other than id are optional.

  • id - video id (from the URL)
  • height and width define view dimensions, 420x350 is default
  • start - start the video at the entered time, in seconds
  • end - stop the video at the entered time, in seconds

See widget description page on MediaWikiWidgets.org.

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.