Page 1 of 1

Floating full screen layer video background source change

Posted: Sun Apr 05, 2020 3:18 pm
by Chendrys19
Hi Everyone!

I have a floating full screen layer with a video background.
How can I change the source of the video with an event? Example an onclick event on a button...

Is the javascript [document.getElementById("Layer_ID").src='video'] solution working?

Thanks,
Chendrys19

Re: Floating full screen layer video background source change

Posted: Sun Apr 05, 2020 4:00 pm
by Pablo
I do not think that will work, because background video is using You Tube or Vireo, so you will need to use their APIs to change the video ID