As for flexslider, you can make different pause time for each slide?

As for the flexslider to make different pause time for each slide?
July 2nd 19 at 13:16
2 answers
July 2nd 19 at 13:18
Found this solution:

<div class="flexslider">
 <ul class="slides">
 <li data-duration="100">
 <img src="">
 <li data-duration="500">
 <img src="">
 <li data-duration="5000">
 <img src="">
 <li data-duration="1000">
 <img src="">

$(document).ready(function() {
 var slider = $('.flexslider').flexslider({
 slideshowSpeed: 6000,
 directionNav: true,
 slideshow: 1,
 animation: 'fade',
 animationLoop: true,
 after: function(slider) {
 slider.vars.slideshowSpeed = $(slider.slides[slider.currentSlide]).data('duration');;
July 2nd 19 at 13:20
don't know how to flexslider, but slick for sure there are methods for scrolling, so you can score a timer to the array. che is like this:
Unfortunately, I need it for flexslider - alexandrine75 commented on July 2nd 19 at 13:23

Find more questions by tags JavaScriptHTMLSlider