angular 和 wavesurfer.js 在 IE10 中不起作用

angular with wavesurfer.js Doesn't work in IE10

我正在构建一个 angular 应用程序,我在其中使用 wavesurfer.js 插件将媒体可视化为波形格式。它在 chrome 中工作正常,但在 IE10 和 IE11 中甚至没有。请帮帮我。

我在对象标签中获取要播放的 mp3 文件。

<object id="global" name="" width="100%" height="100%" type="application/x-shockwave-flash" data="ZeroClipboard.swf?noCache=1425648511012"><param name="allowScriptAccess" value="sameDomain"><param name="allowNetworking" value="all"><param name="menu" value="false"><param name="wmode" value="transparent"><param name="flashvars" value="trustedOrigins=127.0.0.1%3A1337%2C%2F%2F127.0.0.1%3A1337%2Chttp%3A%2F%2F127.0.0.1%3A1337&amp;swfObjectId=global-zeroclipboard-flash-bridge&amp;jsVersion=2.2.0"><div id="global-zeroclipboard-flash-bridge_fallbackContent">&nbsp;</div></object>

我在 IE10 中遇到的错误是 "TypeError: Object doesn't support this action" 提前致谢。

IE 不支持 wavesurfer 所依赖的 Web Audio API

来自(wavesurfer 主页](http://www.wavesurfer.fm/):

wavesurfer.js runs on modern browsers supporting Web Audio. Including Firefox, Chrome, Safari, Mobile Safari and Opera.

Modernizr 的 wiki 列出了 HTML5 polyfill 选项,但我不能说它适用于 wavesurfer 库。 Link to HTML5 audio polyfill