html的视频格式audio,HTML的媒体支持:audio和video元素

Feature

Chrome

Firefox (Gecko)

Internet Explorer

Opera

Safari

Basic support

3.0

3.5 (1.9.1)

9.0

10.50

3.1

: PCM in WAVE

(Yes)

3.5 (1.9.1)

未实现

10.50

3.1

: Vorbis in WebM

(Yes)

4.0 (2.0)

未实现

10.60

3.1[1]

: Streaming Vorbis/Opus in WebM via MSE

?

36.0 (36.0)[2]

?

?

?

: Vorbis in Ogg

(Yes)

3.5 (1.9.1)

未实现

10.50

未实现

: MP3

(Yes)[4]

(Yes)[5]

9.0

(Yes)

3.1

: MP3 in MP4

?

?

?

?

(Yes)

: AAC in MP4

(Yes)[6]

(Yes)[7]

9.0

(Yes)

3.1

: Opus in Ogg

27.0

15.0 (15.0)

?

?

?

: FLAC

56.0

51 (51)

未实现

未实现

11

: FLAC in Ogg

56.0

51 (51)

未实现

未实现

未实现

: VP8 and Vorbis in WebM

6.0

4.0 (2.0)

9.0[8]

10.60

3.1[9]

: VP9 and Opus in WebM

29.0

28.0 (28.0)[36]

?

(Yes)

?

: Streaming WebM via MSE

?

42.0 (42.0)[35]

?

?

?

: Theora and Vorbis in Ogg

(Yes)

3.5 (1.9.1)

未实现

10.50

未实现

: H.264 and MP3 in MP4

(Yes)[3]

(Yes)[10]

9.0

(Yes)

(Yes)

: H.264 and AAC in MP4

(Yes)[4]

(Yes)[11]

9.0

(Yes)

3.1

: FLAC in MP4

62.0

51 (51)

?

?

?

any other format

未实现

未实现

未实现

未实现

3.1[12]

Feature

Android Webview

Chrome for Android

Firefox Mobile (Gecko)

Firefox OS (Gecko)

IE Mobile

Opera Mobile

Opera Mini

Safari Mobile

Basic support

(Yes)

29

24.0

1.0.1

10.0

11.0

(Yes)[13]

3.2

: PCM in WAVE

?

?

24.0

1.0.1

未实现

未实现

(Yes)[14]

3.2

: Vorbis in WebM

?

?

24.0

1.0.1

未实现

11.0

(Yes)[15]

未实现

: Streaming Vorbis in WebM via MSE

?

?

?

?

?

?

?

?

: Vorbis in Ogg

?

?

24.0

1.0.1

未实现

11.0

(Yes)[16]

未实现

: MP3

?

?

(Yes)[17]

(Yes)[18]

10.0

?

(Yes)[19]

3.2

: MP3 in MP4

?

?

?

?

?

?

?

(Yes)

: AAC in MP4

?

?

(Yes)[20]

(Yes)[21]

10.0

?

(Yes)[22]

(Yes)

: Opus in Ogg

未实现

71.0

24.0

未实现

未实现

未实现

(Yes)[23]

未实现

:  VP8 and Vorbis in WebM

(Yes)

29

24.0

1.0.1

未实现

16.0

(Yes)[24]

未实现

: VP9 and Opus in WebM

?

?

?

?

?

?

?

?

: Streaming WebM via MSE

?

?

42.0 (42.0)

?

?

?

?

?

: Theora and Vorbis in Ogg

未实现

未实现

24.0

1.0.1

未实现

未实现

(Yes)[25]

未实现

:  H.264 and MP3 in MP4

(Yes)[26]

29

24.0[33]

(Yes)[27]

10.0

16.0[28]

(Yes)[29]

(Yes)

: H.264 and AAC in MP4

(Yes)[30]

29

24.0[34]

(Yes)[31]

10.0

16.0[28]

(Yes)[32]

3.2

: FLAC in MP4

?

62.0

58.0 (58)

?

?

?

?

?

any other format

?

?

?

?

?

?

?

?

[1] Must be installed separately.

[2] In Nightly/Dev Edition only.

[3] Only on platforms that don't support H.264.

[4] AAC is only supported in the MP4 container. Not in Chromium.

[5] To avoid patent issues, support for MP3 is not built directly into Firefox. Instead it relies on support from the OS. Firefox supports this format on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.

[6] Main only. Not in Chromium. AAC is only supported in the MP4 container.

[7] AAC is only supported in the MP4 container. To avoid patent issues, support for MPEG 4 and AAC is not built directly into Firefox. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). Firefox supports these formats on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.

[9] Must be installed separately, e.g. Perian.

[10] To avoid patent issues, support for MPEG 4, H.264 and MP3 is not built directly into Firefox. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). Firefox supports these formats on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.

[11] AAC is only supported in the MP4 container. To avoid patent issues, support for MPEG 4, H.264 and AAC is not built directly into Firefox. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). Firefox supports these formats on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.

[12] Plays all formats available via QuickTime.

[13] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[14] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[15] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[16] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[17] To avoid patent issues, support for MP3 is not built directly into Firefox Mobile (Android). Instead it relies on support from the OS or hardware.

[18] To avoid patent issues, support for MP3 is not built directly into Firefox OS. Instead it relies on support from the OS or hardware.

[19] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[20] AAC is only supported in the MP4 container. To avoid patent issues, support for MPEG 4 and AAC is not built directly into Firefox Mobile (Android). Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4).

[21] AAC is only supported in the MP4 container. To avoid patent issues, support for MPEG 4 and AAC is not built directly into Firefox OS. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4).

[22] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats. AAC is only supported in the MP4 container.

[23] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[24] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[25] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[26] To get the default Android browser to play H.264 video, you need to jump through some hoops, as explained by Peter Gasston.

[27] In Firefox OS 1.0.1, when detecting support for different formats, HTMLMediaElement.prototype.canPlayType incorrectly reports true for h.264 video whereas in actual fact h.264 is not supported. In Firefox OS 1.1 this problem has been fixed.

To avoid patent issues, support for MPEG 4, H.264 and MP3 is not built directly into Firefox Mobile (Android) and Firefox OS. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4).

[28] Partial since 11.0. AAC is only supported in the MP4 container.

[29] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats.

[30] AAC is only supported in the MP4 container. To get the default Android browser to play H.264 video, you need to jump through some hoops, as explained by Peter Gasston.

[31] In Firefox OS 1.0.1, when detecting support for different formats, HTMLMediaElement.prototype.canPlayType incorrectly reports true for h.264 video whereas in actual fact h.264 is not supported. In Firefox OS 1.1 this problem has been fixed. AAC is only supported in the MP4 container.

To avoid patent issues, support for MPEG 4, H.264 and ACC is not built directly into Firefox OS. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4).

[32] Opera Mini itself doesn't support any video or audio, but any video or audio is passed to the device to play if it has support for that format. Opera Mobile also does this with unsupported formats. AAC is only supported in the MP4 container.

[33] To avoid patent issues, support for MPEG 4, H.264 and MP3 is not built directly into Firefox Mobile (Android). Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4).

[34] To avoid patent issues, support for MPEG 4, H.264 and ACC is not built directly into Firefox Mobile (Android). Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4).

[35] VP8/VP9 video codecs are only available in MSE when H.264 hardware decoders are not available. Checking for availability via MediaSource.isTypeSupported() is recommended.

[36] Starting in Firefox 46, when attempting to initiate a WebRTC call using RTCPeerConnection.createOffer() uses VP9 by default; in the past, VP8 was the default video format.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值