Widget:SC

From WildWords
Revision as of 16:49, 5 February 2014 by Skj081 (talk | contribs) (Usage)

Description

How to get the link for SC widget

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 one required parameter to the widget: absolute URL of the audio (which is easy to obtain from SoundCloud "Share' options).

Also, if needed, you can adjust width of the player by passing second parameter.

Usage

The widget code looks like this:

{{#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.