Why is there no sound in my AI game on iPhone?
An iPhone starts a game’s audio only after a tap inside the game. On Cassette that is handled for you, in every game: the first tap resumes the game’s audio and retries its music, sound plays through the silent switch on iOS 17 and later, and if audio is still blocked a small Sound button appears in the game.
Tell your agent
Make sure my game’s sound starts from the first tap on iPhone on cassette.gg.- Nothing to add
- Cassette puts the fix in every page of every game it hosts.
- Your mute stays
- Audio your game paused or muted itself is never touched.
- Music from a tap
- A short sound played before the first tap is dropped, as on desktop, so start the music from a “Tap to play” screen.
Nothing to add for the unlock. A start screen makes the music begin at once:
startButton.addEventListener('click', () => {
music.play() // the tap that starts the game also starts the sound
startGame()
})The runtime script, for agents