Answer the question
In order to leave comments, you need to log in
How to stop a video in a YouTube slider when moving to the next one?
Tell me, pliz, I've been banging my head for several days.
As in this example of redwood.com.ua - where the video slider
is, you turn on the video from YouTube, it plays, but when you switch to the next video clip in the slider and click play, a cacophony begins, because. the previous video did not stop.
How to stop it???
Answer the question
In order to leave comments, you need to log in
swiper.on('slideChange', function() {
//тут останавливаем вопроизведение всех видео в слайдере
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question