Minimalist Audio Player In JavaScript – microne

Category: Javascript | March 12, 2021
Author: kodedninja
Views Total: 397 views
Official Page: Go to website
Last Update: March 12, 2021
License: MIT

Preview:

Minimalist Audio Player In JavaScript – microne

Description:

microne is an extremely simple and lightweight JS library to create an Audio/Music/MP3 player using plain HTML and JavaScript.

How to use it:

Create a container for the audio player.

<div id="player"></div>

Download and insert the ‘microne.js’ library into the document when needed.

<script src="microne.js"></script>

Initialize the audio player.

var m = new Microne(document.getElementById('player'))

Specify the path to your audio file.

m.source('audio.mp3')

Play/pause the audio.

m.play();
m.pause();

Changelog:

v0.2.0 (03/12/2021)

  • Update function el_click

You Might Be Interested In:


One thought on “Minimalist Audio Player In JavaScript – microne

Leave a Reply