似乎soundcloud sdk再次改变了。 whenStreamingReady函数不存在。它在sdk中,但未注册为公共方法。
仍然在文档中: http://developers.soundcloud.com/docs/api/sdks#methods
答案 0 :(得分:0)
刚刚在我的网站上解决了这个问题!
我必须包括soundmanager manualy:
<script src="js/soundmanager2-nodebug-jsmin.js"></script>
<script>
soundManager.setup({
url: '../original/music/soundmanager2_debug.swf',
flashVersion: 9, // optional: shiny features (default = 8)
useFlashBlock : false,
useHighPerformance : true,
wmode : 'transparent',
useFastPolling : true
});
</script>
然后替换
SC.whenStreamingReady(function(){ ...
人:
soundManager.setup({
onready: function() { ...
答案 1 :(得分:0)
仅供参考:他们已经修好了,似乎他们推出了一些他们不想要的代码;)