Before I get flamed to death, I know this doesn't work currently due to Apple's concern over downloading an audio file automatically.
However, my question is: Has anyone found a cunning workaround yet? I just want to play a start up sound on the launch of a game and currently have to wait for the user to click somewhere before I can play the audio. One of you clever chaps must have got this working by now?
AudioContext
, but I did not try on Safari (please confirm whether it works if you have Safari mobile). See my answer on similar question https://mcmap.net/q/563320/-audio-tag-autoplay-not-working-in-mobile [Let's hope @Leucite was the last to have fruitless search from now on ☺ ] – Ensoul