Hello,
i have a question. I have a lightbox at my site which appears after entering the site ( gprosperity .com) , there is also an youtube video which starts to play under the lightbox.
Is there possibility to start playing the video after lightbox is closed?
I have tried this(found online) :
export function videoPlayer5_viewportEnter ( event ) {
$w ( “#videoPlayer5” ). play ()
}
But i am not sure, how to do it after the closing video or where/how to enter the event - not a programmer ( videoPlayer5) should trigger after closing the lightbox at mainpage so the video starts playing.
Thank you very much!