Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using "WebAudio" in Safari the "audioprocess" event doesn't get fired anymore once you pause/play the current song or load a new one into your wavesurfer object preventing the following piece of code to be executed: this.backend.on('audioprocess', time => { this.drawer.progress(this.backend.getPlayedPercents()); this.fireEvent('audioprocess', time); }); This commit fixes the bug, so it is not needed anymore to use "MediaElement" on Safari as a workaround (which has its own drawbacks).
- Loading branch information