user1670082 user1670082 - 1 year ago 849
jQuery Question

Owl Carousel VIDEO Autoplay dosent work

I use OWL Carousel and I want to autoplay the video (background video for the slides) but apparently owl carousel stops the video.

Here is my jsfiddle:

<video width="320" height="240" autobuffer controls autoplay>

Answer Source

You can call the jquery function play() in the callback afterAction:

    navigation: true, // Show next and prev buttons
    slideSpeed: 300,
    paginationSpeed: 400,
    singleItem: true,
    afterAction: function(current) {