How can I autoplay media in iOS >= 4.2.1 Mobile Safari?

后端 未结 9 1094
半阙折子戏
半阙折子戏 2020-11-27 05:28

I cannot seem to get audio media to play in Mobile Safari on iOS 4.2.1 in any situation other than the handler of a click event performed by the user. Even then, if p

9条回答
  •  臣服心动
    2020-11-27 06:01

    How about this?

    Create an audio sprite with Sound Manager 2, preload & cache it from the first user interaction, and then play as and when needed.

    Would that work?

提交回复
热议问题