danielstern / ngAudio

Angular Directive for Playing Sounds
http://danielstern.github.io/ngAudio/#/
MIT License
369 stars 137 forks source link

ngAudio not working with Angular 1.6.x #182

Closed robpolak closed 7 years ago

robpolak commented 7 years ago

The library plays sounds very distorted in angular 1.6.. can you please take a look?

robpolak commented 7 years ago

After debugging code, it looks like there are two issues

  1. audioObject.playbackRate = 0.01 instead of 1 .. I could not track down what was setting this value so low.
  2. Setting the audioObject.progress was causing the track to skip around, here is the code change I made:
 if(tempProgress  > 0 ){
         //audioObject.progress = tempProgress;  //RP .. Removed due to this resetting audio progress
 }
robpolak commented 7 years ago

.. anyone .. ?

danielstern commented 7 years ago

Should be resolved now