I am using a owl Carousel Plugin on my Joomla site. When I hover over the carousel, it stop the autoplay. I don’t want it to stop

  javascript, jquery

I am using a owl Carousel Plugin on my Joomla site. When I hover over the carousel, it stop the autoplay. I don’t want it to stop. I want it to continue autoplay even on mouseover. I don’t understand Javascript but pasting the Owl Carousel JS section where this is hover. Is there a way to modify this so as not to stop the autoplay on hover?

},this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};d.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},d.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(b.clearInterval(this.interval),this.interval=b.setInterval(a.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):b.clearInterval(this.interval)},d.prototype.play=function(){return c.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1

I apologize is if this is not the proper way to ask this question to solve this issue.

Source: Ask Javascript Questions

LEAVE A COMMENT