This handles common functionality with an audio progress bar such as updating current time position, duration, progress bar position, loading indicator and seeking.
npm install audio-progress-bar
git clone
npm install
open test/index.html
var ProgressBar = require('progress-bar'),
pb = new ProgressBar(
{
'back': backEl,
'front': frontEl,
'thumb': thumbEl,
'count': countEl,
'duration': durationEl
}
);