Html5audio/video Full solution (browser to audio and video format support description)

Source: Internet
Author: User

Audio
Firefox: Supports Ogg Vorbis and WAV
Opera: Support for Ogg Vorbis and WAV
Safari: Supports MP3,AAC format, and MP4
Chrome: Support for Ogg VORBIS,MP3,WAV,AAC and MP4
Internet Explorer +: Supports MP3,AAC format, and MP4
IOS: Supports MP3,AAC format, and MP4
Android: Support AAC and MP3
To maximize support for all of the above mentioned browsers, it is recommended that developers use both the Ogg Vorbis and MP3 formats for example.

?
1234 <audiocontrols>   <sourcesrc="myAudio.ogg"type="audio/ogg">   <sourcesrc="myAudio.mp3"type="audio/mp3"></audio>

   Video
Firefox: Supports OGG Theora format and WEBM
Opera: Support for OGG Theora format and WEBM
Safari: Support MP4
Chrome: Support for OGG Theora format, MP4 and WEBM
Internet Explorer 9: Support for MP4 and WEBM (requires plug-ins installed)
IOS: Support MP4
Android: Support MP4 and WEBM (Android version 2.3 or above)
   To support all of the above browsers, it is recommended to use WEBM and MP4 video files as source elements. For example.

?
1234 <videocontrols>   <sourcesrc="myVideo.mp4" type="video/mp4">   <sourcesrc="myVideo.webm"type="video/webm"></video>

One more signal: (Http://en.wikipedia.org/wiki/Html_video_tag)

Html5audio/video Full solution (browser to audio and video format support description)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.