Difference between revisions of "Widget:SoundCloud"

From Adam Lambert Live
Jump to navigation Jump to search
m (Created page with '<noinclude>__NOTOC__ This widget allows you to embed '''[http://www.soundcloud.com/ SoundCloud]''' on your wiki page. Created by [http://www.mediawikiwidgets.org/User:Sergey_Che...')
 
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><object height="81" width="<!--{$width|default:'100%'|escape:'html'}-->"><param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F<!--{$id|escape:'html'|validate:int}-->"></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:'100%'|escape:'html'}-->"></embed></object></includeonly>
+
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:'100%'}-->" height="<!--{if isset($playlist)}-->450<!--{else}-->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>

Revision as of 09:52, 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.