Widget:SoundCloud: Difference between revisions
imported>Admin No edit summary |
imported>Admin No edit summary |
||
Line 7: | Line 7: | ||
[[Category:Widgets]] | [[Category:Widgets]] | ||
</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' | </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'|validate:int}-->" type="application/x-shockwave-flash" width="<!--{$width|default:'50%'|escape:'html'}-->"></embed></object></includeonly> |
Revision as of 16:34, 9 September 2015
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.