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
Floating full screen layer video background source change
-
-
- Posts: 2
- Joined: Sat May 11, 2019 9:12 pm
Re: Floating full screen layer video background source change
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