mattbryson / TouchSwipe-Jquery-Plugin

TouchSwipe is a jquery plugin to be used with jQuery on touch input devices such as iPad, iPhone etc.
http://labs.rampinteractive.co.uk/touchSwipe/
Other
4.05k stars 1.68k forks source link

IE: Controls of HTML5 videos not working when carouselObj.$el.swipe is attached to it or its parent element #325

Closed himaanshu24 closed 5 years ago

himaanshu24 commented 7 years ago

When HTML5 videos is put inside carousel with carouselObj.$el.swipe({}) event attached to it parent item, then controls of player is not working in Internet Explorer, but the same thing works in Chrome and Firefox effortlessly.

To get it work in IE I have to use excludedElements to exclude the video altogether.

If it can be fixed to work like Chrome and Firefox than it is great. Otherwise, we can use above-mentioned property.

Thanks

himaanshu24 commented 7 years ago

To above problem, I found out that we can also use preventDefaultEvents parameter while initializing it. It works fine but creates another problem; when there is image and we use mouse pointer for swipe then the swipe does not work since image dragging is triggered.

mattbryson commented 5 years ago

duplicate of #230