Skip to main content

TVMediaControls

TVMediaControls — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

TVMediaControls — Prism component.

Accessibility

Designed for the ten-foot / remote experience: large focus targets, a single bright focus highlight, D-pad navigation, and high-contrast type. Honours data-scale="cinema".

Import

const { TVMediaControls } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
titleReact.ReactNodeNow-playing title.
subReact.ReactNodeSubtitle (episode, channel, …).
positionnumberCurrent position in seconds.
durationnumberTotal duration in seconds.
bufferednumberBuffered-to position in seconds.
playingbooleanWhether playback is active (toggles the play/pause glyph).
onPlayPause() => void
onSkipBack() => void
onSkipForward() => void
skipnumberSkip amount in seconds (for labels). Default 10.
controlsReact.ReactNodeExtra controls appended to the transport row.
artstringBackdrop URL when a control is focused.