Building an Audio Player with StimulusJS
avohq.io·19h·
Discuss: Hacker News
💿FLAC Archaeology
Preview
Report Post

Audio isn’t the king of multimedia formats, video is. That’s why finding a nice audio player isn’t always an easy task.

In this article, we will build a custom audio player with Stimulus with customizable controls, responsive waveform visualization, and more.

We will be using Stimulus to give the desired functionality to our audio player and ViewComponent to help us with modularity and reusability:

Let’s start by seeing what we will build:

What we will build

By the end of this article, we will have a functioning audio player with some typical features an audio player should have plus some extra goodies:

  • Keyboard commands.
  • Waveform visualization.
  • Responsiveness using the [Resize Observer API in …

Similar Posts

Loading similar posts...