Created attachment 452700 [details] example web game showing the problem The attached/linked code uses Webkit Audio. - On Desktop it plays fine and as expected. - On some iOS devices this may also be the case. - However, on most iOS devices it *seems* to not play sound. On closer inspection the problem is more subtle: 1. there is one second or so of music when the phone is unmuted, but then it cuts out again 2. there is sound on the attract mode of the game - if there is no sound in attract mode try muting and unmuting the phone - to see attract mode play a game and die - attract mode notes: - no music here - no 3. there is full sound in an iOS screen recording of the game Test device: - iPhone SE 2020 - iOS 15.3.1 Hosted example code (same as attached zip): https://www.gingerbeardman.com/webkit/audio/ Source code repo containing the above: https://github.com/gingerbeardman/good-old-game-sound-generator As mentioned on Twitter: https://twitter.com/xeenon/status/1494678426803785731 source of the thread: https://twitter.com/abagames/status/1494591825365331970
<rdar://problem/89382304>
We believe that this is fixed since iOS 15.4 and beyond.
Sorry to disagree. I'm on iOS 15.5 and the problem and symptoms as listed in the original issue are all still present. I just checked at the link I provided
Reopening.
Understood -- thank you for confirming. Routing now.
Sorry for the delay in looking into it. I can't reproduce on an iPhone 14 Max Pro nor an iPhone SE (2022) on iOS 16.1.2 Background music plays Audio and sound effects are being heard when you strike enemy ships. Could you please try again? Thanks.
Could reproduce on my daughter's iPhone 8 running iOS 16.2. Audio can be heard when you switch the mute button off/on but only for a second or so
I can still reproduce on my SE 2020, on both 16.1.2 and 16.2. Not sure how long I'll have this phone.
I'm now using an iPhone Xs, running iOS 16.4 (released yesterday), and still can still repro this problem.
iPhone Xs, running iOS 16.5 (released yesterday), I still can still repro this problem with the example URL.
Also happens on these pages: - https://sfxr.me - https://pro.sfxr.me I'm running 16.6.1 on iPhone Xs.