Skip to content
Browse docs and components

Transcript Player

transcript-player

A recording and its transcript as one surface: the line and word being spoken are marked as it plays, and a click on any line or word seeks there. Takes WhisperX output as it comes.

Responsive

Install

$npxshadcnadd@forme/transcript-player

Adds the component, its registry dependencies, and the token stylesheet you import once.

API reference

Read from the source, so it is the API of the file you install. A prop marked * is required.

TranscriptPlayer

A recording and its transcript as one surface. The player is the clock: it reports the time, the transcript marks the line and word being spoken, and a click on any line or word seeks the player there and plays. The skip buttons step line by line, and the waveform is marked where each begins.

PropTypeDefaultDescription
src*string | Blob—
segments*readonly TranscriptSegment[]—
title*ReactNode—
metaReactNode—A line under the title: the language, who was recorded, when.
classNamestring—