html5< audio>标签在IE11中不起作用 [英] html5 <audio> tag don't work in IE11

查看:1027
本文介绍了html5< audio>标签在IE11中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我的音频标签不能在Internet Explorer 11中播放?

它适用于Google Chrome浏览器。

这是我的HTML:

Why doesn't my audio tag play in Internet Explorer 11?
It works just fine in Google Chrome.
Here is my HTML:

<audio autoplay src="fail.mp3" type="audio/mpeg"></audio>


推荐答案

根据 html5test 音频元素应该完全支持,尽管 Web Audio API 不是,可能是在你的情况下的问题。

According to html5test for IE 11 the audio element should be fully supported, though the Web Audio API is not, which might be the problem in your case.

这篇关于html5&lt; audio&gt;标签在IE11中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆