Internet Explorer 11 and Html5 Sound playback

蓝咒 提交于 2019-12-11 12:20:09

问题


I have a JSFiddle that has both a regular html5 <audio> tag in it for playback, as well a a call to the javascript Audio() function. As expected, in Chrome/Firefox/IE10 these work, but in IE11 (came with windows 8.1 yesterday) neither of these methods work and I get a "Error: Not implemented " exception. I haven't yet seen any documentation that Audio doesn't work on IE11 - is my installation just screwed up, or do others with IE11 see this as well?

JSFiddle Here

Also, heading over to http://html5test.com/ in IE11 indicates that the sound element is supported, but that no codecs work.


回答1:


IE11 was running in this case on Windows 8.1 Pro N. Installing the media pack solved this for me, even though I think it's insane that html5 features of the browser need this addition to work properly, and Microsoft doesn't list the Media Pack as having any impact on any other features (like IE11 or html5) here.



来源:https://stackoverflow.com/questions/19455970/internet-explorer-11-and-html5-sound-playback

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!