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 |
<
audio
controls>
<
source
src
=
"myAudio.ogg"
type
=
"audio/ogg"
>
<
source
src
=
"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 |
<
video
controls>
<
source
src
=
"myVideo.mp4" type
=
"video/mp4"
>
<
source
src
=
"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)