Mobile Safari和HTML5 iOS Web应用程序支持哪些音频文件类型(例如mp3,ogg)? [英] What audio file types (e.g., mp3, ogg) are supported by Mobile Safari and HTML5 iOS web apps?

查看:562
本文介绍了Mobile Safari和HTML5 iOS Web应用程序支持哪些音频文件类型(例如mp3,ogg)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于在Mobile Safari上播放音频文件有很多SO问题,但是在SO和Google上搜索并不能提供Mobile Safari支持的音频文件的全面,更新列表.

There are many SO questions about playing audio files on Mobile Safari, but searching on SO and Google doesn't yield a comprehensive, updated list of audio files supported on Mobile Safari.

任何人都知道当前支持的音频文件列表是什么吗?

Anyone know what the current list of supported audio files is?

我们正在为iPhone构建一个Web应用程序.

We're building a web app for the iPhone.

谢谢!

推荐答案

以下是支持的媒体类型的最新列表,最近一次更新是在2011年7月:

Here's the most recent list of supported media types, last updated in July 2011:

桌面上的Safari支持任何媒体的已安装版本 QuickTime可以播放.这包括使用编解码器QuickTime编码的媒体 不提供本地支持,前提是编解码器已安装在 用户计算机作为QuickTime编解码器组件.

Safari on the desktop supports any media the installed version of QuickTime can play. This includes media encoded using codecs QuickTime does not natively support, provided the codecs are installed on the user’s computer as QuickTime codec components.

iOS(包括iPad)上的Safari当前支持未压缩的WAV和 AIF音频,MP3音频和AAC-LC或HE-AAC音频. HE-AAC是 首选格式.

Safari on iOS (including iPad) currently supports uncompressed WAV and AIF audio, MP3 audio, and AAC-LC or HE-AAC audio. HE-AAC is the preferred format.

iOS(包括iPad)上的Safari当前支持MPEG-4视频 (基准配置文件)和使用H.264视频编码的QuickTime电影 (基准配置文件)和受支持的音频类型之一.

Safari on iOS (including iPad) currently supports MPEG-4 video (Baseline profile) and QuickTime movies encoded with H.264 video (Baseline profile) and one of the supported audio types.

iPad和iPhone 3G及更高版本支持H.264基线配置文件3.1. iPhone的早期版本支持H.264 Baseline profile 3.0.

iPad and iPhone 3G and later support H.264 Baseline profile 3.1. Earlier versions of iPhone support H.264 Baseline profile 3.0.

在这里找到:

查看全文

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