Widget:SoundCloud: Difference between revisions
imported>Admin No edit summary |
imported>Fincato No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | {{Article | ||
This widget | |MainNavigation=No | ||
}} | |||
<noinclude> | |||
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. | |||
[[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 23:42, 27 April 2017
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.