wavesurfer.play() does not play the audio #3596
Replies: 1 comment
-
Hey, I found something here on stackoveflow: Then If you look at the other answers there too , they suggest you can resume the AudioContext with the following code: So maybe you could try something like this:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to play an audio file. It is loading correctly as I can see the waveform. But when i click on the
play
button, it does not start playing and instead throws anAudioContext
warning in console. I am not sure as to why I am getting this, because I've been using wavesurfer.js for weeks now and I have not faced this issue ever.This my code snippet to play the file:
This is the console upon clicking the

play
button:Wonder if there's any fixes, do let me know. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions