• Resolved rog-er

    (@rog-er)


    Is it possible to change the upper limit of the slide duration? It appears to be set at 30 seconds by default but I have a client that would like slides to transition every 15 minutes (900 seconds).

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Yep, 30 seconds is the max that my plugin allows, but looking at the Owl Carousel docs – see:
    https://owlcarousel2.github.io/OwlCarousel2/demos/autoplay.html

    You could try adding the following JavaScript code to your site:

    <script>
    document.addEventListener('DOMContentLoaded', function() {
       var owl = jQuery('#SLIDER_ID');
       owl.trigger('play.owl.autoplay',[900000]);
    });
    </script>

    NOTE1: Replace ‘#SLIDER_ID’ with the CSS ID for your slider
    NOTE2: Set the slide duration to 0 seconds

    This should hopefully work…

    Thread Starter rog-er

    (@rog-er)

    Sorry for not providing feedback sooner. This snippet resolved the issue. Thanks for the great support!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slide Duration longer than 30 seconds’ is closed to new replies.