I'm using the canvas swiper slider and added both data-loop=”true” to have it loop and data-swiper-autoplay="2000" for the duration. The slider will not auto play and I have to click the nav buttons to scroll through images?
Questions
- how to activate auto play
- how to set the duration of each slide
- I'm using the dot menu will this effect the auto play
Please see the below code from the relevant section, I have also linked swiper.css in the head;
<section id="slider" class="slider-parallax swiper_wrapper clearfix" style="height: 1000px;" data-loop="true" data-effect="fade">
<div class="swiper-container swiper-parent">
<div class="swiper-wrapper">
<div class="swiper-slide" data-swiper-autoplay="2000" style="background-image: url('images/slider/swiper/1.jpg'); background-position: center top;">
<div class="container clearfix"></div>
</div>
<div class="swiper-slide" data-swiper-autoplay="2000" style="background-image: url('images/slider/swiper/2.jpg'); background-position: center top;">
<div class="container clearfix">
</div>
</div>
<div class="swiper-slide" data-swiper-autoplay="2000" style="background-image: url('images/slider/swiper/3.jpg'); background-position: center top;">
<div class="container clearfix">
</div>
</div>
</div>
<div id="slider-arrow-left"><i class="icon-angle-left"></i></div>
<div id="slider-arrow-right"><i class="icon-angle-right"></i></div>
</div>
[](#)
</section>