Author: | kodedninja |
---|---|
Views Total: | 1,429 views |
Official Page: | Go to website |
Last Update: | March 12, 2021 |
License: | MIT |
Preview:

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
is auto play possible ?
Awful. Try using multiple instances and see what happens. This is a player for “your only mp3 on your site”.