Diferencia entre revisiones de «Widget:SoundCloud»

De Casiopea
Sin resumen de edición
Sin resumen de edición
 
(No se muestran 8 ediciones intermedias del mismo usuario)
Línea 2: Línea 2:
Este Widget permite embeber objetos de '''[http://www.soundcloud.com/ SoundCloud]''' en esta Wiki.
Este Widget permite embeber objetos de '''[http://www.soundcloud.com/ SoundCloud]''' en esta Wiki.


Creado por [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]
=== Instrucciones ===
 
# Ir a la URL de la canción o audio (no album ni playlist)
# Seleccionar compartir
# En la segunda pestaña "Integrar" copiar el código HTML del ''iframe'':<code><nowiki><iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/90461912&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe></nowiki></code> donde '''90461912''' corresponde al id.
# Embeber el audio de la siguiente manera:
===Uso===
<pre>
<pre>
{{#widget:SoundCloud
{{#widget:SoundCloud
|track=149374917
|id=90461912
}}
}}
</pre>
</pre>
 
=== Resultado ===
{{#widget:SoundCloud
{{#widget:SoundCloud
|track=149374917
|id=90461912
}}
}}
</noinclude>


 
<includeonly><iframe width="<!--{$width|default:'100%'|escape:'html'}-->" height="<!--{$height|default:'166'|escape:'html'}-->" scrolling="no" style="border: none" src="//w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/<!--{$id|escape:'html'|validate:int}-->&amp;color=<!--{$color|default:'ff5500'|escape:'html'}-->&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false&amp;visual=<!--{$visual|default:'false'|escape:'html'}-->"></iframe></includeonly>
</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>
<noinclude>
[[Category:Widgets]]
[[Category:Widgets]]
</noinclude>
</noinclude>

Revisión actual - 11:11 25 mar 2020

Este Widget permite embeber objetos de SoundCloud en esta Wiki.

Instrucciones

  1. Ir a la URL de la canción o audio (no album ni playlist)
  2. Seleccionar compartir
  3. En la segunda pestaña "Integrar" copiar el código HTML del iframe:<iframe width="100%" height="300" scrolling="no" frameborder="no" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/90461912&color=%23ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true&visual=true"></iframe> donde 90461912 corresponde al id.
  4. Embeber el audio de la siguiente manera:

Uso

{{#widget:SoundCloud
 |id=90461912
}}

Resultado