Page 1 of 1

Youtube video object and lightbox

Posted: Thu Oct 24, 2019 7:37 pm
by protectourlands
I have the Youtube video object on the page set to open the video in lightbox. Is there a way to set the video to autoplay once it opens in lightbox?

Re: Youtube video object and lightbox

Posted: Thu Oct 24, 2019 8:26 pm
by Pablo
You can try to put "?autoplay=1" in the url.

See also:
https://developers.google.com/youtube/player_parameters

Re: Youtube video object and lightbox

Posted: Fri Oct 25, 2019 2:25 pm
by protectourlands
Thank you Pablo. That almost worked. I just had to also add &iframe=true for lightbox. Works perfectly. Thank you sir.