标签: javascript soundcloud soundmanager2
如何捕捉SC.stream(...)来电期间发生的错误?
SC.stream(...)
try { SC.stream(...); } catch (e) { ... }
,也不
SC.stream(..., function(sound, error));
的工作。
测试用例(https://soundcloud.com/klangkarussell/sonnentanz-sun-don-t-shine-2):
SC.stream("/tracks/112609088");
与此问题相关:SoundCloud: "streamable" inconsistent