The text on an AdSkipButton, e.g. "Skip Ad".
The text on an AdDisplay, e.g. "Ad".
The aria-label for an AirPlayButton.
The aria-label for an AirPlayButton when it is connected to AirPlay.
The section header for audio tracks in a LanguageMenu.
The label for an ActiveQualityDisplay or QualityRadioButton when it is showing the "Automatic" quality selection option.
The aria-label for a ChromecastButton.
The aria-label for a ChromecastButton when it is connected to Chromecast.
The default receiver name for a ChromecastDisplay when playing on a Chromecast receiver with an unknown name. This follows the chromecastHeading.
The heading for a ChromecastDisplay when playing on Chromecast. This heading precedes the name of the connected Chromecast receiver.
The aria-label for a CloseMenuButton.
The labels for color style options in a TextTrackStyleRadioGroup, keyed by the original English label (e.g. "White", "Black" or "Red").
The labels for edge style options in a TextTrackStyleRadioGroup, keyed by an EdgeStyle value.
The heading for an ErrorDisplay.
The labels for font family style options in a TextTrackStyleRadioGroup, keyed by the original English label (e.g. "Default" or "Monospace Serif").
The aria-label for a FullscreenButton.
The aria-label for a FullscreenButton when in fullscreen mode.
The label for an AutomaticQualitySelector for THEOlive's BadNetworkModeMenu.
The heading for a LanguageMenu.
The text on a LiveButton, e.g. "LIVE".
The announcement message on a THEOliveDefaultUI when the stream is loading.
The announcement message on a THEOliveDefaultUI when the stream is offline and hasn't started yet.
The label for a BadNetworkModeSelector for THEOlive's BadNetworkModeMenu.
The aria-label for a MuteButton when it is showing a "mute" button.
The aria-label for a BadNetworkModeButton.
The aria-label for a LanguageMenuButton.
The aria-label for a PlaybackRateMenuButton.
The aria-label for a SettingsMenuButton.
The aria-label for a PlayButton when it is showing a "pause" button
i.e. when the player is playing.
The aria-label for a PlayButton when it is showing a "play" button,
i.e. when the player is paused.
The heading for a PlaybackRateMenu.
The aria-label for a TimeDisplay.
The text for the quality option in a SettingsMenu.
The aria-label for a PlayButton when it is showing a "replay" button
i.e. when the player is paused at the end of the stream.
The aria-label for a TimeRange.
The aria-label for a LiveButton.
The heading for a SettingsMenu.
The section header for subtitle tracks in a LanguageMenu.
The label for a TextTrackOffRadioButton to disable the active subtitle track.
The heading for the background color style option in a TextTrackStyleMenu.
The heading for the background opacity style option in a TextTrackStyleMenu.
The label for a TextTrackStyleDisplay when it is showing a style option that does not match any predefined values.
The label for the default style option in a TextTrackStyleRadioGroup.
The heading for the edge style option in a TextTrackStyleMenu.
The heading for the font color style option in a TextTrackStyleMenu.
The heading for the font family style option in a TextTrackStyleMenu.
The heading for the font opacity style option in a TextTrackStyleMenu.
The heading for the font size style option in a TextTrackStyleMenu.
The heading for a TextTrackStyleMenu.
The label for a TextTrackStyleResetButton to reset the text track style.
The heading for the window color style option in a TextTrackStyleMenu.
The heading for the window opacity style option in a TextTrackStyleMenu.
The label for a ActiveQualityDisplay when it is showing a quality selection option without any usable label.
The aria-valuetext for a TimeDisplay and TimeRange
when it does not have a valid time to display.
The aria-label for a MuteButton when it is showing an "unmute" button.
The aria-label for a VolumeRange.
The aria-label for a VRButton.
The aria-label for a VRButton when VR (stereo) mode is active.
The aria-label for a VRButton when no VR capable device is available.
The text on an AdDisplay when playing multiple ads in an ad break, e.g. "Ad X of Y".
The number of the currently playing ad.
The total number of ads in the current ad break.
The text on an AdCountdown, e.g. "Content will resume in X seconds".
The remaining time until the content can be resumed, after being formatted with formatNarrowDuration.
The text on an AdSkipButton when it is showing a countdown.
The remaining time until the ad can be skipped, after being formatted with formatNarrowDuration.
The error message for an ErrorDisplay.
This is optional. If not provided, the original error.message is used.
A player error.
Formats a bandwidth value.
This is optional. If not provided, a default Intl.NumberFormat with the "unit" style is used
that dynamically picks between the "kilobit-per-second" or "megabit-per-second" units.
Examples:
150_000 → "150kb/s"2_500_000 → "2.5Mb/s"A bandwidth value, in bits per second.
Formats the given time duration as a human-readable string.
This is optional. If not provided, a default Intl.DurationFormat with the "long" style is used.
Examples:
{ seconds: 5 } → "5 seconds"{ minutes: 2, seconds: 10 } → "2 minutes and 10 seconds"A duration, compatible with Intl.DurationFormat.format.
Formats a language name.
This is optional. If not provided, a default Intl.DisplayNames with the "language" type is used.
Examples for an English locale:
"en" → "English""fr" → "French""pt-BR" → "Brazilian Portuguese"Examples for a French locale:
"en" → "anglais""fr" → "français""pt-BR" → "portugais brésilien"A localized language name, or undefined if the language code is unknown.
Formats the given time duration as a narrow human-readable string.
This is optional. If not provided, a default Intl.DurationFormat with the "narrow" style is used.
Examples:
{ seconds: 5 } → "5s"{ minutes: 2, seconds: 10 } → "2m 10s"A duration, compatible with Intl.DurationFormat.format.
Formats the given percentage as a human-readable string.
This is optional. If not provided, a default Intl.NumberFormat with the "percent" style is used.
Examples:
0.75 → "75%"1.0 → "100%"A percentage, between 0.0 and 1.0.
Formats the given playback rate for a PlaybackRateMenu and PlaybackRateDisplay.
Examples:
1 → "Normal"1.5 → "1.5x"The playback rate.
Formats the given remaining time duration as a human-readable string.
Examples:
A duration that was formatted with formatDuration.
The aria-label for a SeekButton with a negative SeekButton.seekOffset.
An offset that was formatted with formatDuration.
The aria-label for a SeekButton with a positive SeekButton.seekOffset.
An offset that was formatted with formatDuration.
The aria-valuetext for a TimeDisplay and TimeRange
when it has both a valid time and duration to display.
Examples:
A time duration that was formatted with formatDuration or formatRemainingDuration.
A total duration that was formatted with formatDuration or formatRemainingDuration.
The text on an AdClickThroughButton, e.g. "Visit Advertiser".