Skip to main content

Installation

Usage

The component reads currentTime and duration from the surrounding PlayerProvider via usePlayerSelector. It re-renders only when those values change. It renders the raw values as {currentTime} / {duration}. Wrap them in your own formatter (e.g. mm:ss) for a friendlier display.

Reference