question relating game music

Posted by Anthony on Feb. 24, 2025

hi all, I am of the understanding that the music can now be turned off, is it possible to do it in Safari as I play my game on my iPhone? If not, but it works on Google Chrome I will have to use that instead. I hope there is a way of turning the music off because it is now starting to seriously get on my nerves.

Replies

Reply by Digital Hokum Staff Replymalero on Feb. 25, 2025

iOS ignores browser Sound object volume properties and it always returns 100%. So using the "set background volume to 0%" command doesn't do anything on iOS. On Apple's site, they say "On iOS devices, the audio level is always under the user’s physical control. The volume property is not settable in JavaScript. Reading the volume property always returns 1."

Android and desktop browsers work as expected. Apple definitely chose to "Think different" on this one. There are some workarounds, but I haven't had time to implement them. For now, you can type "disable background music". It may require you to refresh the page.

Please sign in to post a reply.