Renders the track MediaPlayer seeks on: an audio file's waveform, or a plain bar for a stream, a video, or audio whose waveform isn't in yet. The dump page's audio preview shows one too, beside its cover.

Functions

f
Scrubber(unnamed 0: ScrubberProps): React.JSX.Element

Renders a slider over the media's timeline. A pointer seeks where it lets go, showing where it is while held; arrows seek KEY_STEP seconds, Home and End to either end. The played part of the waveform is the same path clipped to the playhead by a nested <svg>, so it moves smoothly within a bar.

Interfaces

I
ScrubberProps

Passed to Scrubber by MediaPlayer and FilePreview. Times are in seconds.