I was making custom controls for the HTML 5 Audio. I need to show the buffered duration.
The duration property gives the complete duration from the metadata, and the buffered property is the currently buffered duration. I need to update the buffered duration as it changes. Is there an event that triggers when buffered duration of media file changes?
I was making custom controls for the HTML 5 Audio. I need to show
Share
It seems you are looking for the
progressevent.Here is a description of all the events fired by media elements:
http://www.w3.org/TR/html5/media-elements.html#mediaevents