You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
i have this error in console but onplayerror listener not firing
const sound = new Howl({
src: ['/audios/betting.mp3'],
autoplay: false,
loop: false,
muted: true,
onplayerror: function () {
console.log('error');
},
onunlock: function () {
console.log(sound.initTime);
console.log('unlocked');
},
});
also i not have play() function called but this issue still there.
also tried Howler.autoUnlock = false; but same result
Reproducible Example
No response
Reproduction Steps
i want to fire error because i want to make logic to resume(continue where audio should be) the audio.
i want to start audio when load and if there will be interaction error want to continue when will be click.
Possible Solution
No response
Context
No response
Howler.js Version
v2.2.4
Affected Browser(s)/Versiuon(s)
No response
The text was updated successfully, but these errors were encountered:
The Problem
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
i have this error in console but onplayerror listener not firing
also i not have play() function called but this issue still there.
also tried Howler.autoUnlock = false; but same result
Reproducible Example
No response
Reproduction Steps
i want to fire error because i want to make logic to resume(continue where audio should be) the audio.
i want to start audio when load and if there will be interaction error want to continue when will be click.
Possible Solution
No response
Context
No response
Howler.js Version
v2.2.4
Affected Browser(s)/Versiuon(s)
No response
The text was updated successfully, but these errors were encountered: