kilokeith/soundcloud-soundmanager-player

Error if track is stuck in "processing" mode

Kampfbereit opened this issue · 2 comments

Sometime soundclouds get stuck in the processing of a track and the track has the state "processing" instead of finished. Console log shows a 404 error and the widget crashes. Example url: https://soundcloud.com/tomtits/skapad-av-noel-z

The onload function when calling soundManager.createSound should have a return parameter to test load success.
This page has an example of how a 404 should be handled
http://www.schillmania.com/projects/soundmanager2/demo/api/
Maybe a new event scplayer.track.error could be added to handle this.

I got the same problem as @Kampfbereit. And I can't understand how the trick suggested by @samjosephmark can be implemented...