我们都知道 Apple 不允许使用 Mobile Safari 在 html5 音频标签上自动播放。iOS 4 的解决方法是使用带有 mp3 src 的 iframe。Apple 似乎已经在 iOS 5 上修复了这个问题。
<html>
<body>
iframe mp3 autoplay test
<iframe src='iframe.mp3' width='0px' height='0px' scrolling='no'></iframe>
</body>
</html>
这适用于 iOS 4.3.1,但不适用于 5.0.1。
剩下的解决方法,还是苹果终于修补了所有的自动播放漏洞?