Difference between revisions of "Widget:SWITCHtube"

(Initial version, adapted from Widgets:Vimeo)
 
(Fix URL)
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This widget allows you to add a [https://switch.tube.ch/ SWITCHtube] video player to your wiki page.
+
This widget allows you to add a [https://tube.switch.ch/ SWITCHtube] video player to your wiki page.
  
 
== Using this widget ==
 
== Using this widget ==

Latest revision as of 15:57, 29 November 2018

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

Using this widget

Supported parameters include:

  • id - ID of the video to embed
  • caption - description with link to video (default is "[view on SWITCHtube]")
  • width - width of the video (default is 640)
  • height - height of the video (default is 360)

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:SWITCHtube.