Bootstrap Green Audio Player

Audio Player javascript library.


Example

<div class="gap-example border px-4 py-5 border-radius-sm">
  <audio>
    <source src="../assets/audio/example.mp3" type="audio/mpeg">
  </audio>
</div>

Usage

In order to use this plugin on your page you will need to include the following script:

  <script src="/assets/js/plugins/green-audio-player.min.js"></script>

Initialization

This will initialize the Green Audio Player.

new GreenAudioPlayer('.gap-example');

For more informations visit official repo here.