vidstack / player

UI components and hooks for building video/audio players on the web. Robust, customizable, and accessible. Modern alternative to JW Player and Video.js.
https://vidstack.io
MIT License
2.15k stars 126 forks source link

Progress slider conflict with swiper.js at touchmove events #1292

Closed cylinera closed 4 months ago

cylinera commented 4 months ago

Current Behavior:

When testing on the mobile end, when the player is placed in the swiperslide container of swiper.js, the swiperslide container will also slide simultaneously as the player's progress bar is slid.

Expected Behavior:

When sliding the player's progress bar, prevent the propagation of the sliding event to stop the swiper from sliding.

Environment:

mobile safari iPhone 13 iOS 17.4.1

Example: