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
{{ message }}
Repository navigation
Handling HTMLAudioPlugin .play() promise error in latest Chrome and Safari #305
It's not really a major issue, just posting here in case it wasn't known.
I doubt anyone would urgently be needing a fix for this.
But the fix might be as simple as adding a .catch to remove the error.
We will likely add a local fix to supress (or better expose) the error.
SoundJS already does automatic handling of touch events to enable audio playback on mobile devices, however it likely needs to be extended to desktop user events now, due to changes in Chrome.
Activity
Akurn commentedon Jul 24, 2018
It's not really a major issue, just posting here in case it wasn't known.
I doubt anyone would urgently be needing a fix for this.
But the fix might be as simple as adding a
.catchto remove the error.lannymcnie commentedon Jul 24, 2018
We will likely add a local fix to supress (or better expose) the error.
SoundJS already does automatic handling of touch events to enable audio playback on mobile devices, however it likely needs to be extended to desktop user events now, due to changes in Chrome.
loalexzzzz commentedon Aug 8, 2018
You guys are amazing, but I wanna know when the local fix will be apply soon?