Hide YouTube embedded video until it is loaded and is ready to play

iframe
video

(Ollie) #1

Hi there,

I have got to a stage where I am looking for some help and advice. I have now successfully embedded a YouTube video which will autoplay in the background fullscreen and loops when finished. However when first opening the scene/webpage the embedded YouTube video is showing the YouTube loading dots and then starts to play when loaded.

Is there a way that I can either hide the embedded YouTube video until its loaded? Or maybe instead have an image covering the embedded video until it has loaded?

How would I go about doing this?

Thanks in advance,

Kind Regards Ollie