Thanks for the code, but I've tried it on several tracks and it always tells me to view the content on soundcloud:
If I use soundcloud's recommended embed code (which uses an iframe with soundcloud's html5 player instead of flash), it mades the user find the track id of the content they want to embed and that can only be found by clicking share and searching through the embed code given.
Code:
<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/204532668&color=ff5500&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false"></iframe>
https://api.soundcloud.com/tracks/
204532668
Is there a way to use soundcloud's html5 player with the normal url for the track?