[英]Owl Carousel not working Autoplay
Owl Carousel not working Autoplay 猫头鹰轮播无法正常播放
<script>
$(document).ready(function(){
$("#owl-demo-main").owlCarousel({
autoPlay : 1000,
stopOnHover : false,
)}
});
</script>
It works if you set autoplaySpeed and autoplayTimeout to the same value. 如果将autoplaySpeed和autoplayTimeout设置为相同的值,它将起作用。
autoplaySpeed:1000,
autoplayTimeout: 1000
you can also try this... 您也可以尝试...
owl.owlCarousel({
items:4,
loop:true,
margin:10,
autoplay:true,
autoplayTimeout:1000,
autoplayHoverPause:true,
autoplaySpeed:5000
});
just so you know this is also a bug that has been reported to GitHub . 请注意,这也是已经报告给GitHub的错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.