audio

< html‎ | elements
Jump to: navigation, search

audio

This article is Almost Ready.


W3C Working Draft

Summary

The audio element (<audio>) is used for playing audio files and may display a minimal media player user interface.


Overview Table

DOM Interface HTMLAudioElement


Compatibility

Do you think this data can be improved? You can ask to add by opening an issue or make a pull request.

Desktop

FeaturesChromeFirefoxInternet ExplorerOperaSafari
Basic support
3.0
Yes
?
Unknown
9.0
Yes
10.5
Yes
3.1
Yes
autoplay attribute
3.0
Yes
?
Unknown
9.0
Yes
10.5
Yes
3.1
Yes
buffered attribute
?
Unknown
?
Unknown
?
Unknown
?
Unknown
?
Unknown
controls attribute
3.0
Yes
?
Unknown
9.0
Yes
10.5
Yes
3.1
Yes
loop attribute
3.0
Yes
?
Unknown
9.0
Yes
10.5
Yes
3.1
Yes
muted attribute
?
Unknown
?
Unknown
?
Unknown
?
Unknown
?
Unknown
played property
?
Unknown
?
Unknown
?
Unknown
?
Unknown
?
Unknown
preload attribute
3.0
Yes
?
Unknown
9.0
Yes
?
Unknown
3.1
Yes
src attribute
3.0
Yes
?
Unknown
9.0
Yes
10.5
Yes
3.1
Yes
volume attribute
?
Unknown
?
Unknown
?
Unknown
?
Unknown
?
Unknown

Mobile

FeaturesAndroidFirefox MobileIE MobileOpera MobileSafari Mobile
Basic support
?
Unknown
1.0
Yes
?
Unknown
?
Unknown
?
Unknown
autoplay attribute
?
Unknown
1.0
Yes
?
Unknown
?
Unknown
?
Unknown
buffered attribute
?
Unknown
4.0
Yes
?
Unknown
?
Unknown
?
Unknown
controls attribute
?
Unknown
1.0
Yes
?
Unknown
?
Unknown
?
Unknown
loop attribute
?
Unknown
11.0
Yes
?
Unknown
?
Unknown
?
Unknown
muted attribute
?
Unknown
11.0
Yes
?
Unknown
?
Unknown
?
Unknown
played property
?
Unknown
15.0
Yes
?
Unknown
?
Unknown
?
Unknown
preload attribute
?
Unknown
4.0
Yes
?
Unknown
?
Unknown
?
Unknown
src attribute
?
Unknown
1.0
Yes
?
Unknown
?
Unknown
?
Unknown
volume attribute
?
Unknown
?
Unknown
?
Unknown
?
Unknown
?
Unknown

Examples

View live exampleplay a mp3 on webpage

HTML

<audio controls src="http://freedownloads.last.fm/download/533190714/she%2Bso%2Bfly.mp3" type="audio/mp3">
</audio>




See also

Related articles

HTML




























  • audio























… further results


Related pages (MSDN)

  • Audio object
  • How to use HTML5 to Add an Audio Player to your Webpage

Attribution

This article contains content originally from external sources.

Portions of this content come from the Mozilla Developer Network cc-by-sa-small-wpd.svg: Article

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]