Skip to content

Commit

Permalink
Merge pull request #255 from Gizra/254
Browse files Browse the repository at this point in the history
Fix(soundcloud widget): Change URL to access assets, http://api.soundclound.com was blocked.
  • Loading branch information
Carlos Mantilla committed Mar 18, 2014
2 parents 4e729b2 + a45b66b commit 510f595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/pageFull.html
Expand Up @@ -60,7 +60,7 @@
{% if page.attachments.soundcloud != empty %}
{% for attachment in page.attachments.soundcloud %}
<div>
<iframe class="iframe" width="100%" height="100%" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http://api.soundcloud.com/{{ attachment.id }}&amp;auto_play=false&amp;auto_advance=false&amp;buying=false&amp;liking=false&amp;download=false&amp;sharing=false&amp;show_artwork=false&amp;show_comments=false&amp;show_playcount=false&amp;show_user=false&amp;hide_related=false&amp;start_track=0&amp;callback=true&amp;color=ff0000&amp;theme_color=ff0000"></iframe>
<iframe class="iframe" width="100%" height="100%" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https://soundcloud.com/{{ attachment.id }}&amp;auto_play=false&amp;auto_advance=false&amp;buying=false&amp;liking=false&amp;download=false&amp;sharing=false&amp;show_artwork=false&amp;show_comments=false&amp;show_playcount=false&amp;show_user=false&amp;hide_related=false&amp;start_track=0&amp;callback=true&amp;color=ff0000&amp;theme_color=ff0000"></iframe>
</div>
{% endfor %}
{% endif %}
Expand Down Expand Up @@ -116,7 +116,7 @@
{% if sibling.attachments.soundcloud != empty %}
{% for attachment in page.attachments.soundcloud %}
<div>
<iframe class="iframe" width="100%" height="100%" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http://api.soundcloud.com/{{ attachment.id }}&amp;auto_play=false&amp;auto_advance=false&amp;buying=false&amp;liking=false&amp;download=false&amp;sharing=false&amp;show_artwork=false&amp;show_comments=false&amp;show_playcount=false&amp;show_user=false&amp;hide_related=false&amp;start_track=0&amp;callback=true&amp;color=ff0000&amp;theme_color=ff0000"></iframe>
<iframe class="iframe" width="100%" height="100%" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https://soundcloud.com/{{ attachment.id }}&amp;auto_play=false&amp;auto_advance=false&amp;buying=false&amp;liking=false&amp;download=false&amp;sharing=false&amp;show_artwork=false&amp;show_comments=false&amp;show_playcount=false&amp;show_user=false&amp;hide_related=false&amp;start_track=0&amp;callback=true&amp;color=ff0000&amp;theme_color=ff0000"></iframe>
</div>
{% endfor %}
{% endif %}
Expand Down

0 comments on commit 510f595

Please sign in to comment.