Widget:SC: Difference between revisions

From WildWords
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
This widget allows you to embed SoundCloud with mini player. Please use the following syntax:
This widget allows you to embed SoundCloud with mini player. Please use the following syntax:
<p><nowiki>{{#widget:SC|link=}}</nowiki></p>
<p><nowiki>{{#widget:SC|link=YOUR_URL|width=YOUR_WIDTH}}</nowiki></p>
<p>Where:</p>
<p>link -- URL of the audiofile you can find on SoundCloud</p>
<p>link -- URL of the audiofile you can find on SoundCloud</p>
<p></p>
<p>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</p>
<p></p>
<p></p>
</noinclude>
</noinclude>


<includeonly>
<includeonly>
         <a href="<!--{$link|default:'#'|escape:'html'}-->" class="sc-player"></a>
         <a href="<!--{$link|default:'#'|escape:'html'}-->" class="sc-player" style="width: "></a>
</includeonly>
</includeonly>

Revision as of 16:26, 5 February 2014

This widget allows you to embed SoundCloud with mini player. Please use the following syntax:

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