To enable autoplay slideshow you need to set autoPlay:true
option. Master Slider supports more options for an autoplay slider that you can find them on the list below:
Option name | Default value | Description | Related addon |
autoPlay | false | Enables the autoplay slideshow. | autoplay |
slideshowDelay | 3 | Global value for the delay between changing slides and can be used when slide duration is not set for the slide(s). | autoplay |
autoPlayAfterVideo | false | Do not start the slideshow timer until background video starts playing. | autoplay |
pauseOnHover | false | Pauses slideshow timer when mouse cursor enters the slider area. | autoplay |
resetTimerOnBlur | false | Resets slideshow timer after mouse leaves the slider. | autoplay |
pauseAtEnd | ‘auto’ | Pauses the slider slideshow timer after reaching to the last slide. | autoplay |
Set different delay for each slide
If you need to specify different slideshow delay for a slide, you can set it by data-delay
attribute. You can find more info about slide attributes in Add new slide article.
Note: Autoplay options are added by autoplay
addon and may be available in the slider script package. For more info, check out Building slider script article.