Hiding AD over embedded Video HELP

MAC-11

Junior Member
Joined
Feb 3, 2012
Messages
168
Reaction score
97
Hello all, Heres what im trying to do, and im having a little difficulty coming up with a clear answer.

I have a tube site that pulls videos from youtube and embedds them to my wordpress site and I want to hide an ad over the youtube video so that when they click play it opens the ad as well as plays the video. I know there are scripts for this however i cant find any and would really appreciate some help. If you have a script or even tutorial to do it manually.

I wont use ******** Clickjack, I have that software and I cannot get it to work correctly.

Thanks in advance for the help :).
 
anyone got a script or idea?
 
Try a hidden DIV/Link Z-Indexed and positioned Absolute to sit on top of the embedded video.

When you click the DIV/Link, have it execute a piece of Javascript which in turn Collapses or Removes the DIV/Link from the DOM and opens your Pop-Up. Might want to have the JS auto-start the Video to avoid a second click.

You can have the Javascript write a session cookie so users don't get annoyed with Pop-Ups on every video. Of course that would require to check the cookies server-side on Page Load to see if the Hidden DIV/Link should be injected into the DOM.
 
Try a hidden DIV/Link Z-Indexed and positioned Absolute to sit on top of the embedded video.

When you click the DIV/Link, have it execute a piece of Javascript which in turn Collapses or Removes the DIV/Link from the DOM and opens your Pop-Up. Might want to have the JS auto-start the Video to avoid a second click.

You can have the Javascript write a session cookie so users don't get annoyed with Pop-Ups on every video. Of course that would require to check the cookies server-side on Page Load to see if the Hidden DIV/Link should be injected into the DOM.

Looking this up as i type this. Any instructions lol, theres alot of different sites saying lots of different things.
 
Back
Top