- Easy to install
- Easy to style
- Very efficient
This is a highly customizable audio player plugin. You can use simple css (or whatever) to customize the color, size, and responsiveness of the player very easily.
I wanted a lightweight customizable audio player using HTML, CSS, and JavaScript.
-
clone this project to your local machine
-
run
npm install
-
run
gulp
-
customize scss files to your liking
-
include
<script src="https://npmcdn.com/[email protected]/bundles/Rx.umd.js"></script>
in the head section of your HTML. (My player uses Rx.js Observables to handle events) -
include KleiserAudioPlayer.js in your HTML (use the compiled ES5 javascript)
-
include KleiserAudioPlayerStyles.css in your HTML
-
customize CSS to your liking
After you have it installed all you have to do is include your audio in the standard HTML5 audio tag like so:
<audio src="PATH/TO/AUDIO" type="audio/TYPE>
- This was originally geared toward use in the browser. If you plan on using it otherwise you may have to go about the installation differently