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

201
Views
youtube video not showing

After clicking the thumbnail, the youtube video is not opening. It leaves white blank, have to reload to see the main video

$(function () {
  var videos=$(".video");
  videos.on("click", function () {
    var elm=$(this), conts=elm.contents(), le=conts.length, ifr=null;
    for (var i=0;
    i < le;
    i++) {
      if (conts[i].nodeType==8) ifr=conts[i].textContent;
    }
    elm.addClass("player").html(ifr);
    elm.off("click");
  }
  );
}

)
<div class="video">
  <img class="zoom-video" src="~/image/body/special-offer.png">
  <iframe width="600" src="https://www.youtube.com/embed/Ze7xsy9tVVQ" frameborder="0" allowfullscreen></iframe>
</div>

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try to copy the provided iframe from the video. Go to the video, click share, then click embed.
Copy paste the code there and try to run the code again.
Here's an example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

about 4 years ago · Juan Pablo Isaza Report
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!