I have created a image slider using Jquery Slick Slider, Its having youtube video clips as well. When page load youtube video is set to 1st slide of the slider and it is aut
I would reset the HTML content. It will kill the IFrame and rebuild it.
var slider = $('.mainSlider').slick({
slidesToShow: 1,
autoplay: false,
autoplaySpeed: 5000
});
slider.on('beforeChange', function(event, slick, currentSlide, nextSlide){
var current = $('.slick-current');
current.html(current.html());
});