哪些浏览器支持 HTML5 设备方向功能?
我尝试查看 http://slides.html5rocks.com/#slide-orientation ,它是在 Chrome 10(开发频道)中不起作用,我认为它支持整个幻灯片。我还尝试使用 Nexus One 加载同一张幻灯片,Nexus One 是用于 规范,但这也不起作用。当前是否有任何设备/浏览器支持 deviceorientation?它可以在具有该技术的笔记本电脑上使用吗?
另外,当方向起作用时,幻灯片应该做什么?
I tried looking at http://slides.html5rocks.com/#slide-orientation and it's not working in Chrome 10 (dev channel), which I thought supported that entire slideshow. I also tried loading the same slide with the Nexus One, which is the phone used for images in the specification, but that didn't work either. Does any device/browser currently support deviceorientation? Would it work on laptops that have the technology?
Also, what is that slide supposed to do when orientation is working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我在 Macbook Pro 上使用 Chrome 11.0.696.0,该设备方向链接的工作方式与我想象的完全一样。
它似乎在 Safari 5.0.3 中都不起作用
或 Firefox 3.6
它也无法在我的 iphone 3gs 上运行
I am using Chrome 11.0.696.0 on a Macbook Pro, and that device orientation link works exactly how I imagine it should.
it doesn't seem to work in either Safari 5.0.3
or Firefox 3.6
it also doesn't work on my iphone 3gs
到目前为止还没有,但 WebKit 社区的人们正在实现它。希望几个月后就可以使用了。通常新功能的时间表并不是一成不变的。
None so far, but people in the WebKit community are implementing it. Hopefully in a couple of months it will be available. Usually timeframes for new features are not set in stone.
这有帮助吗: http://www.quirksmode.org/m/table.html #t50
Does this help at all: http://www.quirksmode.org/m/table.html#t50
Opera Mobile 的技术预览支持设备方向和替换
getUserMedia()
API。There's a technology preview of Opera Mobile that supports device orientation and the replacement,
getUserMedia()
API.