Bryan Downing
Bryan Downing

Reputation: 15472

Documentation for javascript audio methods?

I've searched and found many articles that discuss the common methods you can use in javascript to control HTML audio elements. However, I have not been able to find anywhere that lists all of the methods available.

I should make it clear that I'm not looking for HTML audio attributes. I'm looking for methods like audio.play() and audio.pause(). I've seen these methods used in code samples all over the place, but I can't find an exhaustive list for the life of me.

Upvotes: 33

Views: 30602

Answers (3)

Bart
Bart

Reputation: 27205

http://dev.w3.org/html5/spec-author-view/video.html#audio (large document)

The play/pause methods can be found here: http://dev.w3.org/html5/spec-author-view/video.html#media-element

Upvotes: 4

calvinf
calvinf

Reputation: 3914

For Mozilla Firefox's implementation (Gecko), see the following in the Mozilla Development Center:

For Internet Explorer 9 (currently beta), see the following at MSDN:

Upvotes: 7

Related Questions