Skip to content
This repository was archived by the owner on Jul 26, 2022. It is now read-only.

Latest commit

 

History

History
46 lines (35 loc) · 1.18 KB

File metadata and controls

46 lines (35 loc) · 1.18 KB

Web Audio Player

Usage

With bower

  • bower i web-audio-player
  • adjust the configuration of your server in /src/js/config.js
  • run apllication on your page
   var playerView = new App.Views.Player();
   $('#container').append( playerView.$el );

Without bower

and than run index.html in test/

Uploading files

Upload mp3 files to the server manually in server/uploads or with the player uploader (click to cloud icon)

Add tracks to playlist

Click to '+' icon and wait for the download file list. Select multiple files or select all by pressing 'choose all' and then click 'Add to playlist'

Config

If you want to change id name or class prefixes of application, you can do it in such files:

  • /src/js/config.js
   App.Settings.playerID = 'webAudioPlayer';
   App.Settings.classPrefix = 'wap';
  • /src/css/variables.less
   @player-ID: webAudioPlayer;
   @class-prefix: wap;