Audio Player 1 block design & features
AudioPlayer1 is a podcast episode player built with shadcn/ui and Tailwind CSS. Show art sits beside the episode number, title, a short summary and the hosts, above a scrubber with small gaps marking where each chapter starts, the elapsed and remaining time and the name of the current chapter.
The play button sits between 15 second back and forward skips, and a speed button cycles through 1×, 1.5× and 2×. Below the player a chapter list highlights the current chapter with a thin bar that fills as it plays, and a transcript box scrolls itself to keep the line being spoken in view. Clicking a chapter or a transcript line jumps straight to it, and the scrubber can be dragged or moved with the arrow keys.
With no audio file the player runs on a simulated clock that starts on its own, so the layout can be previewed straight away; pass an audioSrc to drive it from a real audio element. Visitors who prefer reduced motion start paused. On phones the art shrinks above the episode details and the chapters and transcript stack, which suits podcast websites, show notes pages and newsletters with audio editions.
