我在html5页面中使用音频标签。除了Ie9之外,它在所有浏览器中都运行良好。
代码是:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Add a title</title>
</head>
<body>
<audio controls="controls" src="audio-file.mp3" autoplay>
audio tag not supported.
</audio>
</body>
</html>
如果我直接打开html页面它工作正常,但尝试在服务器(jbosserver)中打开时,同一页面无法加载。
此致 Chandrasekhar M