Plyr
From MusicTechWiki
Revision as of 07:40, 14 November 2017 by TomHutchison (talk | contribs) (Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[https://github.com/sampotts/plyr YouTube Video]''' on your wiki page. == Using this widget == To insert this widget,...")
Revision as of 07:40, 14 November 2017 by TomHutchison (talk | contribs) (Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[https://github.com/sampotts/plyr YouTube Video]''' on your wiki page. == Using this widget == To insert this widget,...")
This widget allows you to embed YouTube Video on your wiki page.
Using this widget
To insert this widget, use the following code:
{{#widget:Plyr |id=PQBcJvx48g4 |width=640 {default} |height=360 {default} }}
Parameters
- id - id of the video {or can be full url}
- width, height - dimensions (optional, 425x355 default)
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Plyr.