2013-08-01 31 views
2

我似乎無法使用soundcloud API在IE8中傳輸音軌。soundcloud streaming IE8

在其他瀏覽器(也包括IE9和IE10)中正常工作。

The stream demo on the soundcloud docs也沒有爲我工作在IE8

... 

SC.stream("/tracks/" + _model.id, function(sound) { 
    _sound = sound; 
    _sound.play({ 
     whileplaying: onPlaying, 
     onpause: onPaused, 
     onplay: onPlayed, 
     onresume: onPlayed, 
     onfinish: onFinished 
    }); 
}); 

... 

或者這是一個SoundManager類的問題?當我嘗試流式傳輸時,我可以看到聲音管理器文件被請求,然後,沒有更多,而它應該加載閃回等。(它在IE9中例如)

這只是不支持IE8或。 ..?

回答

0

我不明白爲什麼,但是當我包括我自己的soundManager,文件時,一切都按預期工作。

我的猜測是聲音管理器文件從另一個域加載,所以IE8不能很好地處理。另一方面,軌道通過jsonp加載,IE8可以正常工作。

0

IE8和IE9 +之間的基本區別是HTML5 audio support

編輯:soundmanager有一箇舊版瀏覽器的FlashPlayer回退。你在IE8中有閃存嗎? the soundmanager demo在你的IE8中工作

+0

我猜它與CORS有關。雖然不確定... – ThomasM