The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
I would like to have an image covering an iframe until the image is clicked.
I would like the image to fadeout, or just disappear, then the iframe appear.
How would I go about doing this? Some sort of onClick function?
Is this going to be the same image all the time?
Does the image serve any function other than to hide the iframe?
@Paulie_D everytime the page is reloaded it will be the same image. Its purpose is to hide the iFrame because the iFrame has an autoplay for the video that starts right when the page is loaded, and the image on top is to prevent this from happening.
…but won’t the video start playing regardless of whether the iframe is visible or not?
This sounds like a ‘hacky’ solution to something that should be fixed at source.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed