David Portabella
David Portabella

Reputation: 12710

HTML5 audio reference

HTML5 has a good support for audio and video playback and control. The official HTML5 reference: http://www.w3.org/TR/html5/

I've seen in some web pages that the audio object has the play() and pause() functions, also an attribute called "currentTime", and many more things.

However, "play", "pause" and "currentTime" is not even documented in the official HTML5 reference. Where can I find a full reference of HTML5 audio?

Best regards, David

Upvotes: 3

Views: 1909

Answers (3)

user446034
user446034

Reputation: 745

play(), pause() etc come from HTMLMediaElement interface, documented here: http://www.w3.org/TR/html5/video.html#htmlmediaelement

Upvotes: 5

Wayne Smith
Wayne Smith

Reputation: 4868

https://developer.mozilla.org/En/Using_audio_and_video_in_Firefox is also a good references. The standard will ultimately needs to be what is supported by at least two browsers.

Upvotes: 1

Bjorn
Bjorn

Reputation: 71820

Ajaxian has a decent reference that I use for my Google Chrome extension audio player. There's not much there because there's not much to it. :) It also points to some other references.

Upvotes: 1

Related Questions