From Hackerspace ACKspace
Jump to: navigation, search

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

Using this widget

To add a video to your page, write down the video ID and paste the following code (width and height are optional, and you can replace id with playlist if you want to include a complete playlist by id):


Will give the following result:

Copy to your site

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