音频播放器未在IE9中显示

时间:2012-09-13 21:13:44

标签: internet-explorer-9 html5-audio

在其他浏览器中,我看到了音频播放器,但在IE9中,我看到了这一点:

blank player

http://adamkobrin.com/test1.php

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>test1</title>
<style type="text/css">
audio {
    width: 300px;
    height: 40px;
}
</style>
</head>
<body>

<audio controls preload="auto">
    <source src="audio/crickets.mp3" />
    <source src="audio/crickets.ogg" />
Your browser does not support the audio tag.
</audio>

</body>
</html>

1 个答案:

答案 0 :(得分:1)

我认为Lews的意思是他只看到播放/暂停按钮而不是IE9的完整音频控件(即音量,静音,进度条等)。我也只看到播放/暂停按钮。登记/>
如果您看到原始帖子中显示的图像,您可能需要检查您的服务器是否具有mp3扩展名的audio / mpeg的mime映射。我以前看到我的一个程序的相同图像和覆盖mp3的mime映射修复了这个问题。然后我就能看到完整的音频控制并播放音频。

相关问题