Widget:SC: Difference between revisions
From WildWords
No edit summary |
|||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
==Description== | ==Description== | ||
This widget allows you to embed audio hosted on '''[http://www.soundcloud.com/ SoundCloud]'''. It will create a mini player with "Play" button and name of the audio. You should pass absolute URL of the audio (which is easy to obtain from SoundCloud "Share' options). Also, if needed, you can adjust width of the player. | This widget allows you to embed audio hosted on '''[http://www.soundcloud.com/ SoundCloud]'''. It will create a mini player with "Play" button and name of the audio you are embedding. You should pass absolute URL of the audio (which is easy to obtain from SoundCloud "Share' options). Also, if needed, you can adjust width of the player. | ||
==Usage== | ==Usage== |
Revision as of 16:35, 5 February 2014
Description
This widget allows you to embed audio hosted on SoundCloud. It will create a mini player with "Play" button and name of the audio you are embedding. You should pass absolute URL of the audio (which is easy to obtain from SoundCloud "Share' options). Also, if needed, you can adjust width of the player.
Usage
{{#widget:SC|link=YOUR_URL|width=YOUR_WIDTH}}
Where:
link -- URL of the audiofile you can find on SoundCloud
width -- you can adjust the width of the mini player (for example when the audio file name is too long). This parameter is optional, default value is 175px. Please specify the width without 'px', just the number.