OGStrings

data class OGStrings(val play: String = "Play", val pause: String = "Pause", val replay: String = "Replay", val seekForward: String = "Seek forward {seconds} seconds", val seekBackward: String = "Seek back {seconds} seconds", val next: String = "Next", val previous: String = "Previous", val volume: String = "Volume", val mute: String = "Mute", val unmute: String = "Unmute", val enterFullscreen: String = "Enter fullscreen", val exitFullscreen: String = "Exit fullscreen", val seekBar: String = "Seek", val customAction: String = "Custom action {n}", val subtitles: String = "Subtitles", val subtitlesOff: String = "Off", val audio: String = "Audio", val playbackSpeed: String = "Playback speed", val speedNormal: String = "Normal", val speedValue: String = "{speed}×", val quality: String = "Video quality", val qualityAuto: String = "Auto", val qualityHeight: String = "{height}p", val qualityBitrate: String = "{kbps} kbps", val qualityAdaptive: String = "adaptive", val audioDefault: String = "Default", val trackUnknown: String = "Unknown", val audioFallback: String = "Audio {n}", val subtitlesFallback: String = "Subtitles {n}", val audioChannels: String = "{name} · {channels}ch", val live: String = "LIVE", val goLive: String = "Go to live", val upNext: String = "Next in {seconds}", val playNext: String = "Play next: {title}", val nextVideo: String = "next video", val ad: String = "AD", val adPod: String = "{index}/{count}", val learnMore: String = "Learn more", val skipAd: String = "Skip ad", val skipIn: String = "Skip in {seconds}", val pauseAd: String = "Pause ad", val resumeAd: String = "Resume ad", val adBlockedTitle: String = "Ads are blocked", val adBlockedText: String = "This video is made available with ads, but your ad blocker prevented them from loading. Your video plays on without ads — please consider allowing ads for this site to support it.", val adBlockedTextHard: String = "This video is only available with ads. Please disable your ad blocker for this site, then reload.", val adBlockedDismiss: String = "Got it", val adBlockedReload: String = "I disabled it — reload", val dismiss: String = "Dismiss", val errorGeneric: String = "Playback error {code}", val retry: String = "Retry", val downloading: String = "Downloading", val downloadingItemsOne: String = "Downloading 1 item", val downloadingItems: String = "Downloading {count} items", val cast: String = "Cast", val castConnecting: String = "Connecting to cast device", val casting: String = "Casting", val castConnectingStatus: String = "Connecting…", val castingTo: String = "Casting to {device}", val airPlay: String = "AirPlay", val airPlayTo: String = "AirPlay — {device}", val pipPlaying: String = "Playing in picture in picture", val sponsored: String = "Sponsored")

Every text the built-in chrome shows or speaks, English by default: pass your own for any language via OGUiConfig.Builder.setStrings (the vertical feed takes the same type through its own config). There is no automatic locale detection — the chrome stays English until you hand it strings.

The key set is one flat list, identical on every OGPlayer platform, so a single key → text map localises all of them: fromMap takes it as-is, keeps English for missing keys and ignores keys it does not know. Keys noted as iOS only or web only exist so that one map fits everywhere; this chrome does not show them.

Placeholders are {name} tokens, replaced verbatim (format). Time readouts, the minus before a live offset, the "position / duration" separator, content-rating pictograms and the watermark are not text and are not part of this set.

Constructors

Link copied to clipboard
constructor(play: String = "Play", pause: String = "Pause", replay: String = "Replay", seekForward: String = "Seek forward {seconds} seconds", seekBackward: String = "Seek back {seconds} seconds", next: String = "Next", previous: String = "Previous", volume: String = "Volume", mute: String = "Mute", unmute: String = "Unmute", enterFullscreen: String = "Enter fullscreen", exitFullscreen: String = "Exit fullscreen", seekBar: String = "Seek", customAction: String = "Custom action {n}", subtitles: String = "Subtitles", subtitlesOff: String = "Off", audio: String = "Audio", playbackSpeed: String = "Playback speed", speedNormal: String = "Normal", speedValue: String = "{speed}×", quality: String = "Video quality", qualityAuto: String = "Auto", qualityHeight: String = "{height}p", qualityBitrate: String = "{kbps} kbps", qualityAdaptive: String = "adaptive", audioDefault: String = "Default", trackUnknown: String = "Unknown", audioFallback: String = "Audio {n}", subtitlesFallback: String = "Subtitles {n}", audioChannels: String = "{name} · {channels}ch", live: String = "LIVE", goLive: String = "Go to live", upNext: String = "Next in {seconds}", playNext: String = "Play next: {title}", nextVideo: String = "next video", ad: String = "AD", adPod: String = "{index}/{count}", learnMore: String = "Learn more", skipAd: String = "Skip ad", skipIn: String = "Skip in {seconds}", pauseAd: String = "Pause ad", resumeAd: String = "Resume ad", adBlockedTitle: String = "Ads are blocked", adBlockedText: String = "This video is made available with ads, but your ad blocker prevented them from loading. Your video plays on without ads — please consider allowing ads for this site to support it.", adBlockedTextHard: String = "This video is only available with ads. Please disable your ad blocker for this site, then reload.", adBlockedDismiss: String = "Got it", adBlockedReload: String = "I disabled it — reload", dismiss: String = "Dismiss", errorGeneric: String = "Playback error {code}", retry: String = "Retry", downloading: String = "Downloading", downloadingItemsOne: String = "Downloading 1 item", downloadingItems: String = "Downloading {count} items", cast: String = "Cast", castConnecting: String = "Connecting to cast device", casting: String = "Casting", castConnectingStatus: String = "Connecting…", castingTo: String = "Casting to {device}", airPlay: String = "AirPlay", airPlayTo: String = "AirPlay — {device}", pipPlaying: String = "Playing in picture in picture", sponsored: String = "Sponsored")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val ad: String

Ad chip.

Link copied to clipboard

Web only.

Link copied to clipboard

Web only.

Link copied to clipboard

Web only.

Link copied to clipboard
Link copied to clipboard

Web only.

Link copied to clipboard

Ad position in its pod; {index}, {count}.

Link copied to clipboard

iOS only.

Link copied to clipboard

iOS only.

Link copied to clipboard

Audio-track button.

Link copied to clipboard

Audio row disambiguated by channel count; {name}, {channels}.

Link copied to clipboard

Web only (the single default audio row).

Link copied to clipboard

iOS / web: unnamed audio track; {n}.

Link copied to clipboard

Cast button.

Link copied to clipboard

Cast button while connecting.

Link copied to clipboard

Casting overlay while connecting.

Link copied to clipboard

Cast button while casting, and the casting overlay without a device name.

Link copied to clipboard

Casting overlay; {device}.

Link copied to clipboard

Fallback for a custom action without a description; {n} is 1-based.

Link copied to clipboard

Web only.

Link copied to clipboard

Download notification, one untitled item.

Link copied to clipboard

Download notification; {count}.

Link copied to clipboard

Download notification, one item counted.

Link copied to clipboard

Fullscreen button, embedded.

Link copied to clipboard

Error overlay message; {code}. setErrorMessageProvider wins.

Link copied to clipboard

Fullscreen button, in fullscreen.

Link copied to clipboard

LIVE chip action.

Link copied to clipboard

Ad clickthrough button.

Link copied to clipboard

LIVE chip and the live time readout.

Link copied to clipboard

Accessibility action on the volume button while sound is on.

Link copied to clipboard

Playlist next (remote chrome).

Link copied to clipboard

The {title} of playNext when the next item has no title.

Link copied to clipboard

Transport button while playing.

Link copied to clipboard

Ad transport while the ad plays.

Link copied to clipboard

iOS only (status text).

Link copied to clipboard

Transport button (and the vertical feed's play glyph).

Link copied to clipboard

Speed button.

Link copied to clipboard

Up-next card, spoken; {title}.

Link copied to clipboard

Playlist previous (remote chrome).

Link copied to clipboard

Quality button.

Link copied to clipboard

Web only.

Link copied to clipboard

Quality menu row for adaptive selection.

Link copied to clipboard

Web only (quality row without a known height); {kbps}.

Link copied to clipboard

Quality menu row; {height}.

Link copied to clipboard

Transport button once playback has ended.

Link copied to clipboard

Ad transport while the ad is paused.

Link copied to clipboard

Error overlay and vertical feed retry. setRetryButtonLabel wins.

Link copied to clipboard

Seek-back button; {seconds}.

Link copied to clipboard

Scrub bar.

Link copied to clipboard

Seek-forward button; {seconds}.

Link copied to clipboard

Skip button once skippable.

Link copied to clipboard

Skip button countdown; {seconds}.

Link copied to clipboard

Speed menu row for 1×.

Link copied to clipboard

Speed menu row; {speed} (e.g. 1.5).

Link copied to clipboard

Vertical feed sponsored chip.

Link copied to clipboard

Subtitles button.

Link copied to clipboard

iOS / web: unnamed subtitle track; {n}.

Link copied to clipboard

Subtitles menu row that turns them off.

Link copied to clipboard

Track row with neither a label nor a language.

Link copied to clipboard

Accessibility action on the volume button while silent.

Link copied to clipboard

Up-next card; {seconds}, {title}. setUpNextText wins.

Link copied to clipboard

Volume button and slider.

Functions

Link copied to clipboard

The download notification's share of these strings, for com.ogplayer.api.downloads.OGDownloadsConfig.Builder.setStrings.