HTMLAudioElement

< dom
Jump to: navigation, search

HTMLAudioElement

This article is Almost Ready.

W3C Working Draft

Summary

The HTML <audio> element represents sound content in documents. This is part of the HTML5 specifications. Audio sources can be specified in the src attribute or by using a source element. There is also a fallback option for browsers which do not support this tag.

Inherits from HTMLMediaElement

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from HTMLMediaElement

Properties

API Name Summary
audioTracks
autoplay
buffered
controls Controls attribute used within a Audio element or Video element displays the default media controls defined by the web browser being used to open HTML document or view of a Web Application.
defaultPlaybackRate
duration
ended
error
loop
muted
networkState
paused
playbackRate
played
seekable
seeking
textTracks

Methods

API Name Summary
canPlayType
load
pause

Events

API Name Summary
canplaythrough Fires when enough data is available to determine whether a media is playable at a normal rate without interruptions.
progress Fires to indicate progress while downloading media data.





See also

Related articles

HTML

  • HTMLAudioElement


















































… further results