Skip to content

CoryKleiser/audio-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kleiser Audio Player

  • 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.

Motivation

I wanted a lightweight customizable audio player using HTML, CSS, and JavaScript.

Install

If you would like this player to be highly customizable with Sass, follow these steps:

  1. clone this project to your local machine

  2. run npm install

  3. run gulp

  4. customize scss files to your liking

If you would like to customize this player with standard CSS, follow these steps:

  1. 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)

  2. include KleiserAudioPlayer.js in your HTML (use the compiled ES5 javascript)

  3. include KleiserAudioPlayerStyles.css in your HTML

  4. customize CSS to your liking

Use

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>

note:

  • 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

About

custom HTML 5 audio player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published