ios 5 支持 web.app 中的背景音频吗? (需要开发者测试)
我希望安装了 iOS 5 beta 之一的 iOS 开发者能够帮我一个大忙!我没有开发帐户,并且知道最好不要按原样安装测试版。
我想知道 iOS 5 是否支持在 web.app 中播放背景音频。为了避免混淆,我的意思是用户添加/运行到主屏幕的网站,并设置了以下内容:
在 iOS 4 和下面,当用户按下主页按钮关闭应用程序时,网络应用程序停止播放音频。而如果在 Safari 中访问该网站,关闭后音频可以在后台继续。我想知道这是否已经改变,因为 Web 应用程序可以在 iOS 5 中运行 JIT/NitroScript。
如果运行 iOS beta(如果可能的话,最新版本)的人有一秒钟的时间来检查这一点,他们是否可以在 Safari 中加载以下 URL,添加到主屏幕,从主屏幕打开,播放音频,按 home 看看音频是否继续播放?我非常非常感激。
http://jsfiddle.net/ooobo/znp3m/show/light/
(ps搞砸保密协议,只是暗示我:D)
I'm hoping for a iOS dev with one of the iOS 5 betas installed to do me a huge favour! I don't have a dev account and know better than to install the beta as it is.
I want to know if iOS 5 supports playing background audio in web.app's. To avoid confusion, by that I mean websites that a user adds/runs to the homescreen, and have this set:
<meta name="apple-mobile-web-app-capable" content="yes">
In iOS 4 & below, web apps stop playing audio when the app is closed by the user pressing the home button. Whereas if the website is visited in Safari, audio can continue in the background after closing. I want to know if this has changed, as web apps can run JIT/NitroScript in iOS 5.
If someone running the iOS beta (latest if possible) has one second to check this out, could they load the following URL in Safari, add to the homescreen, open from homescreen, play audio, press home and see if the audio continues to play? I'd very very much appreciate it.
http://jsfiddle.net/ooobo/znp3m/show/light/
(p.s. screw the nda, just hint at me :D)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
已确认...按下主页按钮后,音频不会播放。使用了测试版6。
使用步骤:在 Safari 中加载以下 URL,添加到主屏幕,从主屏幕打开,播放音频,按主页。音频停止
Confirmed... audio DOES NOT play once home button is pressed. beta 6 used.
Steps used:loaded the following URL in Safari, add to the homescreen, open from homescreen, play audio, press home. Audio stopped