Features
- Composes a dropdown menu for selecting any playback speed, and handles syncing with the underlying media element
- Keyboard navigation (with Radix) and adheres to WAI-ARIA design patterns
Anatomy
Import the components and piece the parts together.Usage
Props
PlaybackSpeedSelect
Takes all props of the Radix Select Root component.
RateSelectItem
value
Required - denote the playback speed value as a number.
Data Attributes
data-livepeer-playback-speed-select
Identifies the playback speed selection component within the Player.
data-livepeer-playback-speed-option
Marks each option within the PlaybackSpeedSelect, indicating the selectable
playback speeds.