Define Audio Format in HTML5

In this article I will explain Audio Format in HTML5 and Brower Audio Compatibility.
  • 1481

Audio in HTML5

  • The <audio> tag is used to add audio in web page or HTML page.

  • When <audio> tag is not used, browser asks for plug-in or script for playing audio or music.

  • <audio> tag is a paired tag.

HTML5 Audio Formats

HTML5 Audio supported three type format

  • Ogg Vorbis  Ogg is basically an open-source, patent-free, royalty-free version of MP3. This format will work in Firefox, Opera and Chrome only.

  • MP3  The best-known compressed format is MP3. MP3 audio file support Chrome and Safari.

  • Wav  WAV  is uncompressed audio. The Wav format will work in Firefox, Opera and Safari.

HTML5 Audio Compatibility

Browser

Ogg Vorbis

MP3

Wav

Chrome 3.0

Yes

Yes

No

Safari 3 and 4

No

Yes

Yes

Opera 10.5

Yes

No

Yes

Firefox 3.5

Yes

No

Yes

Inter Explorer 7 and 8

No

No

No

Further Readings

You may also want to read these related articles :

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.