Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Resume flexslider after touch/swipe

Is there any way to resume the auto-playing of a Flexslider slideshow after a touch event? Right now it appears that once I swipe to navigate, the slideshow stops..

like image 588
Rick Davies Avatar asked Mar 17 '13 18:03

Rick Davies


1 Answers

UPDATE FOR FLEXISLIDER 2

The resume() event are no longer exist, the correct solution is using the after callback and use the event after in the initialization

$('.flexslider').flexslider(
    ...
    after: function(slider){ 
        slider.pause(); 
        slider.play(); 
    }
);
like image 96
Carlos487 Avatar answered Sep 26 '22 00:09

Carlos487