Minimal HTML5 Audio Player With JavaScript – Essential Audio

Category: Javascript | March 9, 2021
Author: Freeedle
Views Total: 292 views
Official Page: Go to website
Last Update: March 9, 2021
License: MIT


Minimal HTML5 Audio Player With JavaScript – Essential Audio


Essential Audio is a super tiny JavaScript library to create responsive, slim, and mobile-friendly HTML5 audio players for songs, episodes, etc.

How to use it:

1. Add the Essential Audio’s JavaScript and Stylesheet to the webpage.

<link rel="stylesheet" href="essential_audio.css" />
<script src="essential_audio.js"></script>

2. Embedding an audio player into the document is as easy as creating a DIV element on the page.

  • .ssential_audio – Required CSS selector.
  • data-url – Path to audio file
<div class=&quot;essential_audio" 
     <span class="no_js">Please activate JavaScript for the audio player.</span>

3. Feel free to change the default styles to create your own player theme.


v1.0.2 (03/09/2021)

  • JavaScript: improved buffering behavior
  • CSS: minor code change


  • CSS updated


  • Updated

You Might Be Interested In:

Leave a Reply