Cholla Springs Ave and Widget:YoutubeAudio: Difference between pages
(Difference between pages)
No edit summary |
(Testing sarmadgardezi version) |
||
Line 1: | Line 1: | ||
<noinclude> | |||
This widget allows you to add an audio-only Youtube player to a wiki page. | |||
It was created by [[User:Gboyers]] | |||
== | == Using this widget == | ||
For information on how to use this widget, see [http://www.mediawikiwidgets.org/YouTube widget description page on MediaWikiWidgets.org]. | |||
== | == Copy to your site == | ||
{| | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | ||
</noinclude><includeonly> | |||
<div data-video="<!--{$id|escape:'urlpathinfo'}-->" | |||
data-autoplay="0" | |||
! | data-loop="1" | ||
id="youtube-audio"> | |||
| | </div> | ||
<script src="https://www.youtube.com/iframe_api"></script> | |||
<script src="https://gist.github.com/sarmadgardezi/a0db67456d6849bf5697bcf290f5d84a.js"></script> | |||
</includeonly> | |||
Revision as of 15:18, 28 June 2018
This widget allows you to add an audio-only Youtube player to a wiki page.
It was created by User:Gboyers
Using this widget
For information on how to use this widget, 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:YoutubeAudio article.