HTML and CSS Reference
In-Depth Information
Table8.MediaController Events
Event
When Invoked
The user agent can resume playing, but enough of the slaved media resources haven't
been downloaded to ensure rendering of resources.
canplay
canplaythrough The user agent has fetched enough of all the slaved media resources that it can play
through all the way to the end.
durationchange The duration attribute has been updated.
All slaved media finished playback or no longer a slaved media resource.
emptied
Playback in all slaved media sources is finished.
ended
loadedmetadata Signals when metadata in all slaved media resources is loaded.
Signals when data in all slaved media resources is loaded.
loadeddata
When the pause attribute is set to true, and playback has paused.
pause
The slaved media resources are no longer paused and are playing
play
Triggered when the playback rate is changed for all slaved media resources.
ratechange
Signals a change in the current playback position.
timeupdate
The volume has changed for all slaved media resources.
volumechange
Playback has stopped because the next frame in at least one slaved media source is not
available, but the user agent expects it to become available
waiting
The MediaController's methods, properties, and events are a subset of those available to
HTMLMediaElement. In particular, notice that there are no seeking events, nor events associ-
ated with the user agent aborting data loading or being stalled.
The events, as well as the additional properties and methods, should still be available on indi-
vidual media resources. To access individual values, focus on the media resource you would
consider the master resource.
Search WWH ::




Custom Search