Why music does not play in iPhone safari?


(Alex) #1

Hello @Daniel,

I have a project, but the music will only play in PC mode, and not play in mobile mode, would you please let me know the reason?

http://www.lovcour.com/lovcour/lovcourstory

Alex


#2

Audio on iOS won’t start unless a button (or tap) is first executed by the user. Autoplaying audio is not allowed. Your best bet is to create a ‘start’ button which starts your sound.