Open phideas opened 7 years ago
Its seems like lightslider is no longer maintained :(
@phideas If you are using youtube API or Vimeo API to load the videos. You can use their callbacks for video ends (or oncomplete) and then invoke the slider.goToNextSlide(); I think LightSlider wouldn't know if video is at start or end coz it's coming from a third party. Second option is to maintain a check on video time length and use lightSlider's onAfterSlide callback to switch to next slide when video length check gives status of video is complete.
@noman115pk Thank you! I am gonna try it out.
Discovering lightslider options and can't find the answer to this question: Is it possible with lightslider to trigger nextSlide when video (youtube, vimeo, local hmtl5...) ends?