I would like to display an image before viewing a youtube/vimeo video on my website. Is there a way to do this with jQuery or javascript?
I want to overlay this with my own image and when clicked, display the video and autoplay it, all without reloading the page.
The image and video data are coming from a database so the video data is variable. I already found a similar Question/Anwser on here: Overlay youtube embedded video with image, hide image when clicked and autoplay
But my video's are variable. Is there any other way to change the autoplay value?
Thank you for your help
Regards Jeroen