Fired when the player can resume playback of the media data.
- In comparison to canplaythrough
, the player estimates that if playback were to be started now, the media resource could not be rendered at the current playback rate up to its end without having to stop for further buffering of content.
- See HTML media - network state events.
Fired when the player can resume playback of the media data and buffering is unlikely.
- In comparison to canplay
, the player estimates that if playback were to be started now, the media resource could be rendered at the current playback rate all the way to its end without having to stop for further buffering.
- See HTML media - network state events.
Fired when an error related to content protection occurs.
Fired when the key is usable for decryption.
- A key is usable
if the CDM is certain the key can decrypt one or more blocks of media data.
- See Encrypted Media Extension - usable for decryption.
Fired when the current source, which is chosen from ChromelessPlayer.source.sources, changes.
Fired when the player is destroyed.
- Available since v2.33.3.
Fired when the dimensions of the HTML element changes.
Fired when ChromelessPlayer.duration changes.
- Fired after ChromelessPlayer.readyState has loaded metadata, or when the last segment is appended and there is a mismatch with the original duration.
Fired when the player's source is cleared.
Fired when the player encounters key system initialization data in the media data.
- See Encrypted Media Extensions.
Fired when playback has stopped because the end of the media resource was reached.
Fired when an error occurs.
Fired when the player can render the media data at the current playback position for the first time.
Fired when the player determines the duration and dimensions of the media resource.
- See HTML media - network state events.
- The seekable range should be available as soon as the duration is known. However, certain browsers (e.g. Safari) do not make it available until the loadeddata
event is fired.
Fired when the player starts loading the manifest.
Fired when the manifest is updated.
Fired when ChromelessPlayer.paused changes to true
.
- Fired after the pause()
method has returned.
Fired when ChromelessPlayer.paused changes to false
.
- Either fired after the play() method has returned, or when the ChromelessPlayer.autoplay attribute has caused playback to begin.
Fired when playback is ready to start after having been paused or delayed due to lack of media data.
Fired when the player loaded media data.
- For DASH streams, the event is fired every 350ms or for every byte received whichever is least frequent.
- See HTML media - network state events.
Fired when ChromelessPlayer.playbackRate changes.
Fired when ChromelessPlayer.readyState changes.
Fired when the current representation changes.
Fired when either ChromelessPlayer.videoWidth or ChromelessPlayer.videoHeight changes.
Fired when ChromelessPlayer.seeking changes to false
after the current playback position was changed.
Fired when ChromelessPlayer.seeking changes to true
, and the player has started seeking to a new position.
Fired when a segment can not be found.
- Only fired on DASH streams.
Fired when ChromelessPlayer.source changes.
Fired when the current playback position changed as part of normal playback or in an especially interesting way, for example discontinuously.
Fired when ChromelessPlayer.volume changes.
Fired when playback has stopped because the next frame is not available, but the player expects that frame to become available in due course.
The events fired by the ChromelessPlayer.