OptionalonOptionalonOptionalonOptionalonOptionalonThe browser blocked autoplay-with-audio and fallbackToMutedAutoplay
restarted playback muted — show your own unmute affordance.
OptionalonOptionalonThe video entered (true) or left (false) picture-in-picture — through
enterPip()/exitPip(), the browser's own auto-enter or its PiP
window's close button alike.
OptionalonOptionalonOptionalonA playlist item became current — fired for the start item of
loadPlaylist, every auto-advance, every skipToNext() and every
skipToPrevious().
OptionalonThe user skipped via skipToNext() (the "Up next" card's tap, the
remote's next key) or skipToPrevious() (toIndex < fromIndex) — fired
before the resulting onPlaylistItemChanged. Auto-advances at the end of
an item do NOT fire this, so analytics can tell an impatient skip from
natural completion.
OptionalonOptionalonOptionalonOptionalonOptionalon
Playback lifecycle callbacks. All members optional.