This is the official SoundCloud Widget Javascript API
JavaScript
Latest commit 08a7a32 Oct 25, 2011 Matas Petrikas only the IE pre 9 uses the window.flashId, the new versions should ha…
…ve document.flashId

README

JavaScript based API for the SoundCloud player widget.
Includes jQuery and Prototype.js support.

soundcloud.addEventListener('onPlayerReady', function(player, data) {
  console.log('player ready');
});


The Documentation:
http://wiki.github.com/soundcloud/Widget-JS-API


Also check out the examples in the source.
http://github.com/soundcloud/Widget-JS-API/tree/master/examples/


The project is published under MIT license:
Copyright © 2009 SoundCloud Ltd.