No sound running HTML5 build on Chrome

#1

As above… HTML5 bundle seems fine.

HTML5 build on Firefox also is fine.

Is this a known issue?

image
The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. <URL>

0 Likes

#2

Isn’t this an effect of the autoplay change Google did a few years ago? (https://developers.google.com/web/updates/2017/09/autoplay-policy-changes) Or was it working recently for you in Chrome?

1 Like

#3

That sounds about right. I’ll stick with Firefox for testing for the time being.

1 Like

#4

Clicking on the canvas should be enough to get audio playing?

It should be possible to check the permission first before playing any audio. You could also add a dummy start screen to click before the actual game begins.

1 Like