Skip to main content

Installation

Usage

The button reads playbackRate from the surrounding PlayerProvider. On click, it sets player.playbackRate directly on the instance, toggling between 1 and 1.5. The current rate renders as the label (e.g. 1x). Adjust the toggle logic to expose whatever speeds you want.

Reference