About this set
Two players with the controls people expect from a podcast app. The episode player with chapters shows the show art, the show and episode name and the hosts, a seek slider with times, a speed button, buttons that skip back 15 seconds and forward 30 seconds, the time left and a list of four chapters. The speed button cycles through 1x, 1.25x, 1.5x and 2x by setting playbackRate, and its label says the current speed. Each chapter is a button with a data-at value in seconds; clicking it seeks there and starts playback, and as the episode plays the chapter that contains the current time is marked with aria-current and a tint. The episode list rows give each episode its own audio element, with a play button, the title, the show name, the time left, a thin progress bar and the skip pair, which the Bootstrap version groups in a .btn-group. The demo audio is a 30 second music loop, so the chapters sit at 0:00, 0:07, 0:15 and 0:22; set data-at to your real chapter times.
What’s included
- Back 15 seconds and forward 30 seconds buttons
- Speed button cycling 1x, 1.25x, 1.5x and 2x
- Chapter list that seeks and tracks the current chapter with aria-current
- Episode rows with their own audio, progress bar and time left
- Chapters as a Bootstrap .list-group and skips as a .btn-group
- Plain CSS, Bootstrap and Tailwind versions of the same design
Accessibility
The skip buttons are labelled Back 15 seconds and Forward 30 seconds, the speed button's label reads Playback speed 1.5x and changes with each press, and the play button names the episode. Chapters are buttons in an ordered list and the current one carries aria-current="true". The seek slider reports text such as 0:15 of 0:30, and keyboard focus draws a 2px outline on buttons and a ring on the slider thumb. The players use no motion.
Customise it
Change --pc-accent, --pc-soft, --pc-now and --pc-track on .pc; --pc-now is the current-chapter tint. Edit the rates array at the top of the script for other speeds, and data-skip on a button for other skip lengths. In Tailwind edit the --color-pc-* theme colours.






