Builder
Functions
Hides every hideable control: scrub bar, time labels, buttons and ad markers. Play/pause and the LIVE chip are never hidden — a viewer can always stop playback and always sees live status. Call setShow* setters after this to selectively re-enable pieces.
Icon for the ad chrome's pause button.
Icon for the ad chrome's play (resume-ad) button.
Replaces the built-in audio-track icon with a drawable resource.
Moves the cast button to a different corner/edge of the player.
Replaces the cast icon shown while connected to a receiver.
Replaces the built-in cast icon with a drawable resource.
How long the rating icons stay before fading out.
Overrides dimension tokens of the built-in controls.
How long the controls stay visible without interaction while playing.
Up to 8 host icon buttons rendered inline in the top-end control row, left of the Cast button. They follow the controls' show/hide logic; use OGPlayerView's overlay slots for persistent elements (watermarks) instead.
Overrides colour tokens of the built-in controls.
Replaces the built-in fullscreen enter/exit icons with drawable resources.
Replaces the built-in pause icon with a drawable resource.
Replaces the built-in play icon with a drawable resource.
Colors for the progress bar: played portion, remaining track, and scrubber thumb.
Custom Retry label, any language (default "Retry").
Replaces the built-in seek-backward icon with a drawable resource.
Replaces the built-in seek-forward icon with a drawable resource.
Hides the content-rating icons entirely.
Shows or hides the scrub bar (including its thumbnail preview).
Hides the error overlay's Retry button (shown by default).
Shows or hides the seek forward/backward buttons (VOD and LIVE_DVR only).
Hides the title overlay entirely.
Custom text style (font, size, weight, color) for the title overlay.
How long the title stays on screen before fading out.