Examples

Player

A music player with a timeline for track changes, draggable seek and volume sliders, and a playlist that shuffles.
Player
Now playing

Midnight Drive

Nova Lane · Neon Roads

0:003:42
View on GitHub

Try it

The numbered controls work. The greyed ones fill out the page and do nothing. There is no audio: the playhead is an AnimeJS animation.

  1. Drag the seek bar. The time follows the thumb while you drag, and playback jumps there when you let go. While playing, the thumb moves with the playhead.
  2. Play, pause, skip. The play button's icon swaps with a small pop. The level meters bounce while playing and settle when paused. On a new track the cover fades up, the title scrambles into the new name, then the artist line fades in.
  3. Drag the volume slider. The level meters get taller or shorter with the volume.
  4. Click a track in the playlist to play it. The highlight moves to it, and the list stays where it is.
  5. Shuffle the playlist. The rows slide into their new order.

Reset in the title bar stops playback and puts the playlist back in order.

Built with

Copyright © 2026