This is the official SoundCloud Widget Javascript API
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


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:

Also check out the examples in the source.

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