-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
播放Content-Type: application/octet-stream的mp3列表,在IE下只能正常播第一首 #20
Comments
好的,收到反馈,多谢啦。我尽快看一下。 |
你上面贴的链接已经403实效了,虾米应该是做了一定时效验证。我试了试类似的播放用例,没有问题的,可以正常播放并切换下一首。比如这样去调用: var player = new _mu.Player();
player.add([
'http://m5.file.xiami.com/422/113422/1404718402/1773334213_15330675_l.mp3?auth_key=8a236533ba26ef96c51b1bd826dbc414-1404777600-0-null',
'http://m5.file.xiami.com/422/113422/1404718402/1773334214_15330676_l.mp3?auth_key=190e3aa8b363ced40d7aa88114a4400d-1404777600-0-null'
]).play(); 所以我怀疑还是跟虾米的音频播放链接过期失效有关。你先试试,如果再有问题把报错信息告诉我。多谢。 |
是这样的,你可以到虾米www.xiami.com上的电台下,去现把几首歌。我测试只有win8的ie11可以跑,win7下的11只能跑一首,然后就一直切歌,没有进行播放,ie低版本第一首都播不了,直接循环切歌 |
@nicolaszhao 能否帮忙验证下你说的win7 ie11环境下能否播放本地的mp3音频? |
所有平台的各版本IE播放audio/mpeg格式的mp3是没有问题的,就appliaction/oct-stream格式的不行,IE控制台好像报:无效的MIME-TYPE,似乎是不支持,然后我绑定error事件,从你抛出的错误状态码是2,看代码是网络错误之类的。 |
好的,我明白了,我会跟进一下尽快解决的。多谢反馈。 |
:) |
比如是这样的音乐列表:
[
'http://m5.file.xiami.com/416/39416/434742/1770138305_2174201_l.mp3?auth_key=7e90cfc4579dc81a09d3f3b1b24ab1ed-1404604800-0-null',
'http://m5.file.xiami.com/1/232/10232/319903/3610946_467149_l.mp3?auth_key=b5a478fdefbf83f82b73aed4ded8d1ba-1404604800-0-null',
'http://m5.file.xiami.com/247/13247/105251/1333257_1777128_l.mp3?auth_key=1019a18c54b0f656ded2a95458d75f37-1404604800-0-null',
'http://m5.file.xiami.com/801/110801/1881462144/1772240319_10912275_l.mp3?auth_key=7697d220d0e366195e13410798ed19cf-1404604800-0-null']
只能播放第一首,后面的都是onerror了,如果无法解码的话,那应该第一首也是播不了才对。
The text was updated successfully, but these errors were encountered: