I have a Vimeo embed video on my website, but I need it to play with sound so what I did was making the video larger than the screen to crop the bottom controls on the video so the video can be played with really just pressing anywhere.
The thing is i’m trying to use FinSweet’s Class Adder to make that video’s div go back on the Z index after that one click so it’s not clickable anymore.
The trouble i’m having is for some reason no events are registered on top of the video except for playing / pausing the video. Even if I just do some simple hover effect on the video, it works in preview mode but not on the published site.
Does anyone have any idea how to solve this? I wouldn’t mind any other idea on how to make that video un-clickable after that one click but I have to have that one click for the video to work with sound.
In the read only please check out the page “video class adder test”.
Here’s a published link as well.