Difference between revisions of "Widget:SoundCloud"

From Adam Lambert Live
Jump to navigation Jump to search
m
Line 9: Line 9:
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:'80%'}-->" height="<!--{if isset($playlist)}--><!--{$height|escape:'html'|validate:int|default:'450'}--><!--{else}--><!--{$height|escape:'html'|validate:int|default:'166'}--><!--{/if}-->" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2F<!--{if isset($playlist)}-->playlists%2F<!--{$playlist|escape:'html'|validate:int}--><!--{else}-->tracks%2F<!--{$id|escape:'html'|validate:int}--><!--{/if}-->"></iframe></includeonly>
+
</noinclude><includeonly><iframe width="<!--{$width|default:'80%|escape:'html''}-->" height="<!--{if isset($playlist)}--><!--{$height|default:'450'|escape:'html'|validate:int}--><!--{else}--><!--{$height|default:'166'|escape:'html'|validate:int}--><!--{/if}-->" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2F<!--{if isset($playlist)}-->playlists%2F<!--{$playlist|escape:'html'|validate:int}--><!--{else}-->tracks%2F<!--{$id|escape:'html'|validate:int}--><!--{/if}-->"></iframe></includeonly>

Revision as of 10:44, 31 March 2013

This widget allows you to embed SoundCloud on your wiki page.

Created by Sergey Chernyshev

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:SoundCloud article.