This is he audio feature comparison of html5 between different browsers.
Safari 3.0 does not support the audio format of Ogg Vorbis, why is that so?
Does new version of Safari will support any new features of html5 which were not supported in the previous versions?
Â
Why not Ogg Vorbis audio format is not supported in Safari 3.0?
Ogg Vorbis,Unfortunately Internet Explorer and Safari don't support it.
And u also wanted to know that ,Does new version of Safari will support any new features of html5 which were not supported in the previous versions?
Â
yes there are some features which are available in new version.
Â
AccelerometerÂ
Enhanced SVG and Canvas support
Updated HTML5 Form Support
New JavaScript data types
Why not Ogg Vorbis audio format is not supported in Safari 3.0?
Audio on the Web
Until now, there has never been a standard for playing audio on a web page.
Today, most audio are played through a plugin (like flash). However, not all browsers have the same plugins.
HTML5 specifies a standard way to include audio, with the audio element.
The audio element can play sound files, or an audio stream.
Currently, there are 3 main formats for the audio element:
Format
|
IE 9
|
Firefox 3.5
|
Opera 10.5
|
Chrome 3.0
|
Safari 3.0
|
Ogg Vorbis
|
No
|
Yes
|
Yes
|
Yes
|
No
|
MP3
|
Yes
|
No
|
No
|
Yes
|
Yes
|
Wav
|
No
|
Yes
|
Yes
|
Yes
|
Yes
|
How It Works
To play an audio file in HTML5, this is all you need:
<audio src="song.ogg" controls="controls">
</audio>
|
The control attribute is for adding play, pause, and volume controls.
Insert content between the <audio> and </audio> tags for browsers that do not support the audio element:
Example
<audio src="song.ogg" controls="controls">
Your browser does not support the audio element.
</audio>
|
Try it yourself »
|
The example above uses an Ogg file, and will work in Firefox, Opera and Chrome.
To make the audio work in Internet Explorer and Safari, add an audio file of the type MP3.
The audio element allows multiple source elements. Source elements can link to different audio files.
The browser will use the first recognized format:
Example
<audio controls="controls">
 <source src="song.ogg" type="audio/ogg" />
 <source src="song.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
|
Try it yourself »
|
HTML5 audio Tags
Tag
|
Description
|
<audio>
|
Defines sound content
|
<source>
|
Defines multiple media resources for media elements, such as <video> and <audio>
|
Â
Why not Ogg Vorbis audio format is not supported in Safari 3.0?
Surely you can get several new features available in HTML5, that is not supported by older version of safari
HTML 5 now recognizes websites that have structures, same as reading a book that have structure or when we look at XML documents.
Generally, one website will have body content, headers, sidebar content, navigation, footers, and also other kind of features.
in HTML 5 for each of the features, HTML already created special tags to use those elements mentioned above.
Â
<header> – this is to create the header of the page
<nav> – this is for using navigation of the page
<Section> – this is for using a section of the page
<article> – this is for using the article or primary content of the page
<aside> – this is for extra content example like sidebar of the page
<figure> – this is for using images that annotate article
Â
There is still a lot of features that can be found if you use html5 and you will need to find which one useful for you."
Â