Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (20 loc) · 762 Bytes

README.markdown

File metadata and controls

27 lines (20 loc) · 762 Bytes

AudioJS

Fork of VideoJS.com for audio, with support for themes.

Check out the demo for an example of how to use it.

Based on VideoJS.com

Example jQuery plugin:

if (window.jQuery) {
  (function($) {
    $.fn.AudioJS = function(options) {
      this.each(function() {
        AudioJS.setup(this, options);
      });
      return this;
    };
    $.fn.player = function() {
      return this[0].player;
    };
  })(jQuery);
}

Audio sample is "Crookshanks" by Palace Cat, via duplokat