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

142
Views
I'm facing an error on jQuery('video')[0].load(); the data is not loading on the load function: uncaught typeerror

I am using a lightbox to display images.

I don't know what's wrong. I've tried the slim and the normal version of JQuery

 $("#lightboxID").click();
        jQuery('.play-img-cont.videoDiv').show();
        jQuery('.play-img-cont.videoImage').hide();
        $('.video-js, #my-video_html5_api').show();
        // This is where i get the error of uncaught type error
        jQuery('video')[0].load();
        jQuery('video')[0].play();
        var myPlayer = videojs('pubvid');
        myPlayer.play();
        myPlayer.on('ended', function() {
            jQuery('.play-img-cont, .videoImage').show();
            jQuery('.videoDiv').hide();
            this.exitFullscreen();
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!