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

181
Views
Splidejs: no video

I am trying to run a SplideJS slider. However, when I am trying to insert this code nothing happens afterwards. Do you have any idea how to make it work?

<script src="https://cdn.jsdelivr.net/npm/@splidejs/splide@3.1.7/dist/js/splide.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@splidejs/splide-extension-video@0.5.3/dist/js/splide-extension-video.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/splide@3.1.7/dist/css/splide.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@splidejs/splide-extension-video@0.5.3/dist/css/splide-extension-video.min.css">
<div class="splide">
  <div class="splide__track">
    <ul class="splide__list">
      <li class="splide__slide" data-splide-youtube="some link">
        <img src="some image.jpg">
      </li>
      <li class="splide__slide" data-splide-vimeo="some link">
        <img src="some image.jpg">
      </li>
    </ul>
  </div>
</div>
<script>
document.addEventListener( 'load', function () {
    var splide = new Splide( '.splide', {
        video: {
            autoplay: true,
            mute    : true,
        },
    });
    splide.mount({ Video });
}); 
</script> 

Many thanks in advance!

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!