ReadonlyabortFired when the resource was not fully loaded, but not as the result of an error.
ReadonlyactiveEmitted when the active text track changes.
ReadonlyadDispatched when the current ad break has completed: all of its ads played, were skipped, it hit its playout limit, or it had no ads. Carries the position at which primary content resumes.
ReadonlyadDispatched when an ad break has been entered — its ads may still be resolving. An ad break may contain one or more ads.
ReadonlyadDispatched when an ad has stopped playing for any reason such as ended, error, or skipped.
ReadonlyadDispatched when an ad has played through 100%. Will be dispatched before adCompleted.
ReadonlyadDispatched when an ad region has been entered.
ReadonlyadAn ad list or an individual ad failed to complete.
ReadonlyadDispatched when an ad has played through 25%.
ReadonlyadDispatched when an ad has played through 50%.
ReadonlyadDispatched when an ad has started playing.
ReadonlyadDispatched when the playhead approaches a midroll or postroll break — within the break's resolution/preload window — so its ad assets can be resolved and warmed ahead of entry. Fires once per break as it is approached (again after a seek back re-arms a replayable break). Prerolls are preloaded up front and do not emit this.
ReadonlyadDispatched when an ad has played through 75%.
ReadonlyadDispatched on each playback progress tick while an ad is active, carrying the elapsed and remaining time for both the current ad and the whole ad break. Applications should prefer this over deriving ad timing from the media element's duration.
ReadonlybufferingThe last segment has finished appending.
ReadonlybufferingDispatched when the currently buffering quality changes. This is dispatched before the segment is appended.
ReadonlycanFired when the user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
readyState will be at least PlaybackReadyState.HAVE_FUTURE_DATA
ReadonlycanFired when the user agent can play the media, and estimates that enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
readyState will be at least PlaybackReadyState.HAVE_ENOUGH_DATA
ReadonlycodecA codec the browser reported as supported failed to decode on append and
has been denylisted at runtime. The current media should be reloaded so
quality selection can fall back to a codec that decodes. Recoverable:
this is dispatched instead of an error, and the player reloads the
track in response.
ReadonlycontentThe actively streamed content types have changed.
ReadonlycurrentEmitted when the set of known ad breaks for the current media changes, for example when a live manifest reveals a new break.
ReadonlydurationFired when the duration attribute has been updated.
ReadonlyemptiedFired when the media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it.
readyState will be PlaybackReadyState.HAVE_NOTHING
ReadonlyendedFired when playback or streaming has stopped because the end of the media was reached or because no further data is available.
ReadonlyerrorDispatched when the media element dispatches an error.
ReadonlyfetchedfetchedRanges have been updated.
ReadonlyloadedFired when the frame at the current playback position of the media has finished loading; often the first frame.
readyState will be at least PlaybackReadyState.HAVE_CURRENT_DATA
ReadonlyloadedFired when the metadata has been loaded.
readyState will be at least PlaybackReadyState.HAVE_METADATA
ReadonlyloadA stage of a track load completed. Reports the time span of the stage
together with the track it belongs to. Consumers measuring end-to-end
load latency key on the first event per kind and trackUri.
ReadonlyloadA stage of the track load completed. Rather than redispatch this raw
measurement, the player attributes it to the current track and
republishes it as the loadSpan event.
ReadonlyloadFired when the browser has started to load a resource.
ReadonlyloopedFired when ReadonlyPlaybackController.loop is true and playback has looped to track beginning.
ReadonlymutedFired when the mute status has changed.
ReadonlypauseFired when a request to pause an activity is handled and the activity has entered its paused state, most commonly after the media has been paused through a call to the element's pause() method.
ReadonlyplayFired when the paused property is changed from true to false, as a result of the play method, or the autoplay attribute.
ReadonlyplaybackThe currently playing quality has changed.
ReadonlyplayedFired when playback has stopped, for any reason.
When media begins playing, a playing event is emitted. If playback stops due to 'pause',
'seeking', 'emptied', 'waiting', or 'ended', then played will be fired.
ReadonlyplayingFired after playback is first started, and whenever it is restarted. For example, it is fired when playback resumes after having been paused or delayed due to lack of data.
ReadonlyplayFired when ReadonlyPlaybackController.playIsPending has changed.
ReadonlyplayFired if play() has been attempted, but rejected.
ReadonlyprogressFired periodically as the browser loads a resource.
ReadonlyqualitiesThe available qualities for the current period have changed.
ReadonlyqualitiesThe available unfiltered qualities for the current period have changed.
ReadonlyqueueDispatched when the queue has changed.
Will be emitted before trackActivated.
ReadonlyqueueEmitted when the last track of the playback queue (and any of its postroll ads) have ended.
ReadonlyrateFired when the playback rate has changed.
ReadonlyreadyFired when ReadonlyPlaybackController.readyState has changed.
This is fired when any of the following events have fired: loadedData, loadedMetadata canPlay canPlayThrough emptied waiting
ReadonlyresetEmitted when the error state has been reset.
ReadonlyresetDispatched when VinylPlayer.resetPending changes.
current is true when the player has hit a transient, potentially
recoverable error (e.g. a network outage) and an automatic reset
attempt is scheduled. current is false once the pending reset is
emitted, the error is cleared, or all retries are exhausted.
If resetPending becomes false while VinylPlayer.error is
still non-null, all automatic reset attempts have been exhausted
and playback will not recover without user action.
ReadonlyresizeFired when the intrinsic dimensions of the media (e.g. a video's width or height) change, including once they first become known.
ReadonlyseekedFired when a seek operation completed, the current playback position has changed, and the Boolean seeking attribute is changed to false.
ReadonlyseekingFired when a seek operation starts, meaning the Boolean seeking attribute has changed to true and the media is seeking a new position.
ReadonlyseekThe seekable range on the media timeline has changed.
ReadonlystallFired when a stall (see stallEntered) has ended, for any reason. started is the
time of the last timeUpdate observed before the play head froze, and duration is the
total number of seconds the play head was frozen.
ReadonlystallFired when the play head has been detected as frozen while playing — i.e. no timeUpdate
was observed for longer than the stall threshold. Only emitted once playback has actually
been observed (a playing event), so it is not emitted during initial loading or while
awaiting a seek. Each stall is bracketed by a stallEntered/stallEnded pair.
ReadonlystreamingDispatched when the currently streaming quality changes. This is dispatched when a new streaming quality has been requested.
ReadonlytextEmitted when an error occurs while loading or activating a text track.
ReadonlytextEmitted when the available text tracks change.
ReadonlytimeFired when the time indicated by the currentTime attribute has been updated.
ReadonlytrackA track became active. For content this may be deferred behind a preroll; for an ad it fires as the ad activates. queueChange precedes it.
ReadonlytrackA previously-active track was torn down (superseded or unloaded).
ReadonlytrackEmitted when the current track — including any postroll ads — has finished
playing. Fires once per track: as the queue advances it precedes the
resulting trackActivated, and for the final track it precedes
queueEnded. Distinct from the media element's ended (which also fires
for each ad) and from an individual ad's adEnded, so applications can act
on true track completion (e.g. logging a play) without confusing it with
an ad ending or the content ending before its postroll plays.
ReadonlyvolumeFired when the volume has changed.
ReadonlywaitedFired when waiting has completed. This will be emitted after a waiting event when playback has resumed, paused, or unloaded.
ReadonlywaitingFired when playback has stopped because of a temporary lack of data.
Note: this includes during initial loading or after a seek and data is needed to buffer. Will not be emitted when paused.
ReadonlywaitingPlayback is blocked waiting for a key.
Events the Vinyl Player emits.