1

mediaelement.js用来在 div 中显示视频Iscroll.js,它可以在 ipad 上完美运行,但在 iphone 上我无法滚动触摸视频的页面。

ipad 和 iphone 的行为有什么区别mediaelement.js

你可以在这里看到这个项目(点击左下角的“视频”按钮) http://www.360images.fr/step/mobile.html

谢谢!

4

1 回答 1

0

I've been experiencing this issue, too. It seems that mejs disables touch interactions for the whole area over the video on iPhone, but not on iPad - The behaviour can be forced on iPad by using setting the "iPadUseNativeControls" to true, so I assume that it may be something to do with the native controls, or some of the script that mejs is using in conjunction with them.

I've had a little rummage around in the js, and can't find anything that immediately jumps out at me as to why this would prevent touch interaction. I have raised an issue on the github project, so will see what response (if any) comes from that.

于 2013-04-05T09:53:01.530 回答