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

maplemap/web-audio-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;