I had worked on a small Soundcloud player and it was working fine for several days, until today. Now it won't load any sound. The web console says:
TypeError: SC.streamStopAll is not a function
I used this to stop all playing sounds. If I remove it, the sounds load. But I need a way to stop all the sounds. I made no changes to the code, did something change on SC's or SoundManager's side?
Any idea what's going on and how I can fix it?
I checked the github repository:
https://github.com/soundcloud/soundcloud-javascript/commit/3ee64f9a9864078348a445a51a3b133933ac74b1
They removed soundmanager and replace it with audiomanager. But there is no official documentation about that new audio player. Its also funny that they did not adapt the other API methods that return the stream urls.
Now uses: /tracks/:track_id/streams
But when loading the track data with
SC.get('/resolve', "SC_URL", function(){})
It still has /tracks/:track_id/stream in the stream_url property.
And the API documentation is also refering to soundmanager.