cubiq/SwipeView

Swipe on Video element does not work

Opened this issue · 1 comments

Hey, any chance to get this working when swiping over an video element? I guess the

I've also experienced this. In iOS at least, video elements capture all touch events and ignore their own z-index when touch events happen on an element above them. My solution is to keep the video element offscreen somewhere (or display:none) and use an image decoy. With some javascript you can pretty reasonably simulate the click-to-play video behavior.