Widget:SoundCloud: Difference between revisions

From Hackers & Designers
imported>Admin
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[http://www.soundcloud.com/ SoundCloud]''' on your wiki page. Created by [http://www.mediawikiwidgets.org/User:Sergey_...")
 
imported>Fincato
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>__NOTOC__
{{Article
This widget allows you to embed '''[http://www.soundcloud.com/ SoundCloud]''' on your wiki page.
|MainNavigation=No
 
}}
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
<noinclude>
 
This widget is used to embed a SoundCloud audio.
== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/SoundCloud widget description page on MediaWikiWidgets.org].


== Copy to your site ==
=== Parameters ===
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.
; id : The SoundCloud ID of the audio to play. This can be found in the URL on the Embed tab when sharing a Soundcloud track)
</noinclude><includeonly><object height="81" width="<!--{$width|default:'100%'|escape:'html'}-->"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F<!--{$id|escape:'html'|validate:int}-->"></param> <param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F<!--{$id|escape:'html'|validate:int}-->" type="application/x-shockwave-flash" width="<!--{$width|default:'100%'|escape:'html'}-->"></embed></object></includeonly>
; height / width : Height and width of the map pane, in pixels. Default is 81 pixels tall, 50% width.


<noinclude>
[[Category:Widgets]]
[[Category:Widgets]]
</noinclude>
</noinclude><includeonly><object height="81" width="<!--{$width|default:'50%'|escape:'html'}-->"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F<!--{$id|escape:'html'}-->"></param> <param name="allowscriptaccess" value="always"></param><embed allowscriptaccess="always" height="81" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F<!--{$id|escape:'html'}-->" type="application/x-shockwave-flash" width="<!--{$width|default:'50%'|escape:'html'}-->"></embed></object></includeonly>

Latest revision as of 00:42, 28 April 2017

MainNavigation No


This widget is used to embed a SoundCloud audio.

Parameters

id
The SoundCloud ID of the audio to play. This can be found in the URL on the Embed tab when sharing a Soundcloud track)
height / width
Height and width of the map pane, in pixels. Default is 81 pixels tall, 50% width.