Autoplay Demo | Owl Carousel | 2.3.4
Author: David Deutsch
Description: Autoplay usage demo

# Autoplay

#### 1

#### 2

#### 3

#### 4

#### 5

#### 6

#### 7

#### 8

#### 9

#### 10

#### 11

#### 12

Play Stop

### Overview

Autoplay plugin has three options:

    //default settings:
    autoplay:false
    autoplayTimeout:5000
    autoplayHoverPause:false

In this example i've added two buttons with custom events for play and stop:

    var owl = $('.owl-carousel');
    owl.owlCarousel({
        items:4,
        loop:true,
        margin:10,
        autoplay:true,
        autoplayTimeout:1000,
        autoplayHoverPause:true
    });
    $('.play').on('click',function(){
        owl.trigger('play.owl.autoplay',[1000])
    })
    $('.stop').on('click',function(){
        owl.trigger('stop.owl.autoplay')
    })