{"title":"Enabling Autoplay","id":51999,"link":"https:\/\/env.averta.net\/en\/step\/enabling-autoplay\/","parent":[51851],"content":"<p>To enable autoplay slideshow you need to set <code>autoPlay:true<\/code> option. Master Slider supports more options for an autoplay slider that you can find them on the list below:<\/p>\n<table>\n<thead>\n<tr>\n<td>Option name<\/td>\n<td>Default value<\/td>\n<td>Description<\/td>\n<td>Related addon<\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>autoPlay<\/td>\n<td>false<\/td>\n<td>Enables the autoplay slideshow.<\/td>\n<td>autoplay<\/td>\n<\/tr>\n<tr>\n<td>slideshowDelay<\/td>\n<td>3<\/td>\n<td>Global value for the delay between changing slides and can be used when slide duration is not set for the slide(s).<\/td>\n<td>autoplay<\/td>\n<\/tr>\n<tr>\n<td>autoPlayAfterVideo<\/td>\n<td>false<\/td>\n<td>Do not start the slideshow timer until background video starts playing.<\/td>\n<td>autoplay<\/td>\n<\/tr>\n<tr>\n<td>pauseOnHover<\/td>\n<td>false<\/td>\n<td>Pauses slideshow timer when mouse cursor enters the slider area.<\/td>\n<td>autoplay<\/td>\n<\/tr>\n<tr>\n<td>resetTimerOnBlur<\/td>\n<td>false<\/td>\n<td>Resets slideshow timer after mouse leaves the slider.<\/td>\n<td>autoplay<\/td>\n<\/tr>\n<tr>\n<td>pauseAtEnd<\/td>\n<td>&#8216;auto&#8217;<\/td>\n<td>Pauses the slider slideshow timer after reaching to the last slide.<\/td>\n<td>autoplay<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Set different delay for each slide<\/h2>\n<p>If you need to specify different slideshow delay for a slide, you can set it by <code>data-delay<\/code> attribute. You can find more info about slide attributes in <a href=\"https:\/\/env.averta.net\/en\/step\/enabling-autoplay\/?b=,\" title=\"Enabling Autoplay\">Add new slide<\/a> article.<\/p>\n<p class=\"aswi-text-box box-info\"><strong>Note: <\/strong>Autoplay options are added by <code>autoplay<\/code> addon and may be available in the slider script package. For more info, check out <a href=\"https:\/\/env.averta.net\/en\/step\/enabling-autoplay\/?b=,\" title=\"Enabling Autoplay\">Building slider script<\/a> article.<\/p>\n","type":"solution"}