Audio Player 13 block design & features
AudioPlayer13 is a podcast clip sharer built with shadcn/ui and Tailwind CSS. A small typographic show cover sits beside the show name and episode title, above a large waveform drawn from a seeded generator so the bars look the same on every load. The waveform zooms into a three minute stretch of the episode, with a thin overview bar showing where that stretch sits in the full show.
Two handles on the waveform set the start and end of a clip. The selected range is tinted, a label above it shows the clip length, and the bars inside it switch to the primary colour as they play. A transcript panel beside the waveform marks every line inside the clip and bolds the line being read as playback moves, scrolling to keep it in view. Play clip loops just the selection, Copy link copies a link with the clip times and shows a Copied state, and a flat amber share card previews the quote, the show name and the clip time.
The clip starts looping shortly after load on a simulated clock so the waveform, transcript and share card move in previews, and the episode can take an audioSrc for real playback. Handles can be dragged or moved with the arrow keys, and clicking the waveform or a transcript line seeks. Reduced motion visitors see a paused player. On phones the transcript stacks under the waveform, which suits podcast sites, episode pages and show notes.
