Minimalist Audio Player In JavaScript – microne

Category: Javascript | March 12, 2021
Author:kodedninja
Views Total:695 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:


2 thoughts on “Minimalist Audio Player In JavaScript – microne

  1. Lutefisk

    Awful. Try using multiple instances and see what happens. This is a player for “your only mp3 on your site”.

    Reply

Leave a Reply