html - 对于扩展名为.aac的audio,解决浏览器兼容问题
大家讲道理
大家讲道理 2017-04-17 11:49:47
0
2
718

如题,我的文件是*.aac格式的,试用<audio>或者<video>标签播放时,只有chrome可以,其他浏览器都不支持aac格式的音频文件,试过更改media-type,不行,求各位大大有什么好方法吗,第三方组件亦可

<audio src="./myfile.aac" controls="controls">
Your browser does not support the audio element.
</audio>

<audio width="320" height="240" controls>
//这里试过很多type
<source src="./myfile.aac" type="audio/mp4"> 
</audio>

上述都不行

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
巴扎黑

The mimetype of aac: audio/aac is not only required in the html code, the server also returns when myfile.aac is requested.
You loaded it from the local path: "./myfile.aac", so there is probably no mimetype.

大家讲道理

Hello! Is the problem that IE does not support audio aac format solved?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template