Audio Support html5

Audio Support

For the time being, only the most recent of browsers offer support for HTML5 audio. At this time,

<audio autoplay="autoplay" controls="controls">  
    <!--<source src="file.ogg" />-->  
    <source src="Ishq Sufiyana.mp3" />
    <a href="Ishq Sufiyana.mp3">Download this file.</a>

In Chorme :
audio support in chrome
html5 audio support

Mozilla and Webkit don’t fully get along just yet, when it comes to the audio format. Firefox will want to see an .ogg file, while Webkit browsers will work just fine with the common .mp3 extension. This means that, at least for now, you should create two versions of the audio.

When Safari loads the page, it won’t recognize that .ogg format, and will skip it and move on to the mp3 version, accordingly. Please note that IE, per usual, doesn’t support this, and Opera 10 and lower can only work with .wav files.

Audio Support html5 Audio Support html5 Reviewed by Bhaumik Patel on 4:54 AM Rating: 5