Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

161
Views
how to autoplay tiny-slider after the video is finished?

I am using tns-slider pluging and have 3 slides (2 photos and 1 video)

<div class='tiny-slider'>
   <div class='slide slide1'>
    <div class='video-slide'>
        <video id="desk" loop autoplay muted>
            <source src="/videos/small.mp4" type="video/mp4">
        </video>
    </div>
  </div>
  <div class='slide slide2'>
    <div class='slide-overlay'>
      <div class='slide-title'>Slide two</div>
    </div>
  </div>
  <div class='slide slide3'>
    <img src="https://placeimg.com/700/500/tech" alt="">
  </div>  
</div>

and the settings:

const slider = tns({
    'items' => 1,
    'controls' => false,
    'loop' => true,
    'autoplay' => true,
    'lazyload' => true,
    'autoplayTimeout' => 4000
  });
});

The slider will autoplay .... but I want to autoplay only when the video is finished.

How can I do that ?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!