The sound plays when the browser is minimized

Hello! I have a problem. When playing the HTML build of the game, the sound plays when the browser is minimized. I will be very grateful for your help.

Hi, this sounds like the normal behavior of any website.
What did you expect? Pause, mute, stop?

We have plenty of conditions that might be helpful, but it says Windows, Linux, MacOS, so I’m not sure it’s compatible with browsers.

Hi! Thanks for attention. On the site where I posted the game, there is a requirement that the sound be turned off when the browser is minimized. I have solved this problem. I used the extension “PauseFocusLost”, from the list of extensions of the program. Many thanks to the author of this extension.

4 Likes