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

89
Views
How to load pop-up ad inside an iframe

I'm implementing pop up ads for my site. The popup opens when clicked anywhere on the site except on iframe. Why does this happen? Sure iframe is separate from the entire website but why does it prevent a pop up from loading? Is there anyway to load pop-up ad inside an iframe i.e when someone press yt play button

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

0

YT will not allow anyone to use its play button with a event listener. So, you have to make a <div class="play"></div> make its position: absolute; and z-index: (any bigger value) and then put it in front of the play button and then if anyone tries to click on paly button of your video he will click on the div which will show a ad and when some closes the ad then make .play{ display: none;} and now your div will be removed so the person would be able to click on the play button and see the video.

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!