iPad 上的 HTML5 视频逐帧前进和后退问题
我在尝试在 iPad 上使用 html5 视频进行逐帧推进时遇到了问题。
我这里有一个测试页面 http://playgr8sports.com/ipad/videotest.html
使用后退和前进按钮html 5 视频标签。
这与在 Chrome 中的表现完全一样。每次点击 0.03 秒即可跳转。
但当我在 iPad 上尝试时,它会随机跳跃几秒,并且不再是逐帧播放。
我所能发现的是,这与 iPad 不能很好地处理 javascript 中的“currentTime”有关。
我找不到任何解决办法。任何帮助或见解将不胜感激。
谢谢
I have ran into a problem trying to do frame by frame advance with html5 video on the iPad.
I have a test page up here
http://playgr8sports.com/ipad/videotest.html
With the back and forward buttons using the html 5 video tag.
This works great exactly how it should do in Chrome. It jumps through at 0.03 sec per click.
But when I try it on the iPad, it jumps random chucks of seconds and is no longer frame by frame.
All I can find is that it has something to do with the iPad not handling "currentTime" in javascript very well.
I cannot find any work around. Any help or insights would be greatly appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来这是当前 4.2 SDK 的一个错误。我的 iPad 上安装了 4.3 Beta,它在这里运行得很好。到目前为止,我在 4.2 浏览器中发现了一些问题,这些问题已在 4.3 中修复。
另外将其添加到您的页面中:
将有助于限制单击链接但未完全点击链接时的放大和缩小处理。
我会检查是否有任何解决方法,但由于这是版本问题,可能没有任何解决方法。
It looks like this is a bug with the current 4.2 SDK. I have 4.3 Beta installed on my iPad and it works great on here. There are a few issues I've seen thus far with the 4.2 browser that are fixed in 4.3
Also add this to your page:
will help limit the zooming in and out deal when clicking on the links and not quite hitting them.
I'll check for any work arounds, but seeing as it's a version issue, might not be any..