AudioJs

demo

A better template for playing music

Installation

git clone https://github.com/msfpt/AudioJs

HTML Code

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>MsfPt :: AudioJs</title>
    <!-- ... -->
    <script type="text/javascript" defer="true" src="https://msfpt.github.io/AudioJs/audio.min.js"></script>
    <!-- ... -->
  </head>
  <body>
    <audio src="./music.mp3" AudioJs>
      The “audio” tag is not supported by your browser.
    </audio>
  </body>
</html>

Demo

GitHub

View Github