Skip to content

Latest commit

 

History

93 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

HTML5 Audio Player

An html5 audio player module

This module is still under construction.

Installation

Getting Started

Create an audio element in your html file and assign it an id.

<audio id="sample_audio_player"></audio>

In your javascript file, reference it as such

var myAudioPlayer = new AudioPlayer(config);

Format for playlist

[
  {
    title: String, // Title of track
    author: String, // Artist, author
    src: String, // Link to audio file
    img: String, // Artwork
  },
];

About

A simple HTML5 and Vanilla Javascript audio player. One of the many lessons in my Do It Yourself Series

Topics

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages