slider.pause() and slider.play() events to my buttons (see code below).Question: Is there a way to test whether the slider is running before calling slider.play() or are the pause() and/or play() calls in the wrong place? 
Please advise.
$(document).ready(function(){
    $('.flexslider').flexslider({
        animation: "fade",
        slideshowSpeed: 2000,
        pauseOnHover: false,
        touch: true,
        controlsContainer: ".fs-container",
        controlNav: true,
        manualControls: ".flex-control-nav li",
        start: function(slider) {
            $('.icon-pause').click(function(){
                slider.pause();
            });
            $('.icon-play').click(function(){
                slider.play();                      
            });
        }
    });
});
                Try:
$('.flex-slider').flexslider('pause'); and $('.flex-slider').flexslider('play');.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With