Any ideas on using videos insted of images in swiper slider?


Does anyone know what is the best way to implement a swiper slider with video contents?


Hi. Never done it. But i would render one slide at the time. So you dont have multiples videos buffering

Same as with images, put <video> tag inside. The only thing you will need to handle manually is to stop the video on slide change, where you call videoEl.stop() within some of Swiper’s slideChange events