Get help. Give help. A Web Design and Development Community.
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.