< audio&gt ;?的当前文件支持是什么? [英] What is the current file support for <audio>?

查看:148
本文介绍了< audio&gt ;?的当前文件支持是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在试图弄清楚哪些音频文件与< audio>兼容所有浏览器中的标签。我已经看到网站声称有些人使用.mp3,有些人使用.ogg,但在其他地方我看到所有人都支持.wav。但这些网站已经过时了。

I'm trying to figure out which audio files are compatible with the <audio> tags across all the browsers. I've seen sites that state that some use .mp3, and some use .ogg, but somewhere else I saw that all supported .wav. But those sites were outdated.

是否有关于< audio>的当前支持的最新信息所有平台上的所有浏览器?

Is there any up-to-date information on the current support for <audio> for all browsers across all platforms?

推荐答案

@animusion是错误的,Internet Explorer 9 支持音频标签!

@animusion is wrong, Internet Explorer 9 does support the audio tag!

您今天只需要两种格式来覆盖所有浏览器:

You only need two formats to cover all browsers today:

Ogg Vorbis (经常是.ogg):涵盖除IE和Safari之外的所有浏览器,大概是因为他们讨厌互联网而不想支持免费格式。

Ogg Vorbis (often .ogg): covers all browsers except IE and Safari, presumably because they hate the internet and don't want to support free formats.

AAC (通常是.m4a):涵盖Internet Explorer和Safari。

AAC (often .m4a): covers Internet Explorer and Safari.

你应该使用MP3。

You should not use MP3.

这篇关于&lt; audio&gt ;?的当前文件支持是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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