Skip to content

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

Notifications You must be signed in to change notification settings

Kowus/html5-audio-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published