我流媒體音樂從的SoundCloud API,有時當我打電話SC.stream軌道不流,我得到的錯誤:的SoundCloud API SC.stream(軌道不加載)
「GET http://api.soundcloud.com/tracks/80608808/stream?client_id=78bfc6a742a617082972ddc5ef20df2a 404 (未找到)」
GET請求適用於某些曲目,而不是爲別人。我無法弄清楚爲什麼或者如果SC API存在問題。
他是我的問題的複製上plnkr:
謝謝!
你在哪兒,你作爲參數提供給'SC.stream'的網址是什麼? – 2013-03-04 10:44:26
我從是從一個SC.get調用返回軌道對象的URL,(從SC.get呼叫我從解析軌道ID出來的SoundCloud插件的獲取URL) – drdalton 2013-03-04 20:18:47
他是我的問題的複製上plnkr: http://plnkr.co/edit/TMVWGg 看着plnkr,play1被調用時,控制檯打印出 「GET http://api.soundcloud.com/tracks/78971940/stream? CLIENT_ID = af5b4d4236354009bd1525a974bd7e79 404(未找到)」 而當play2稱爲歌曲成功播放。 – drdalton 2013-03-04 20:21:05