I have been trying to get this to work for months but it's still not working. It works fine in all browsers except Google Chrome. The problem is audio doesn't stream in Chrome.
Here's a JS fiddle of the most basic example. https://jsfiddle.net/sq23uxqs/
First I include the new javascript SDK
<script src="https://connect.soundcloud.com/sdk/sdk-3.0.0.js"></script>
Then in my Javascript
SC.initialize({
client_id: "78c2f0ffbef212328769a921e5663879"
});
SC.stream('/tracks/293').then(function(player){
player.play();
});
Does anyone know why this is or is it a problem with the API?