Streaming live at 10am (PST)

Can I set a Webflow lightbox to close after the video from YouTube is done playing


#1

Hi! I need help about closing Lightbox:

Can I make that the lightbox closes automatically when a video (from youtube) has ended?
I think that I will need javascrip code or jquery.

For example, this video is viewed in a Lightbox, but when it finished the window doesn't close. I want that when the video ends, the lightbox closes automatically and comes back to the original menu.

Thanks for your help.


#3

Hi @saritalfa Welcome to the community! :slight_smile:

At this time, we do not have that function in our platform. But you may be able to do this with custom code.

Here is something I found for you that might help you get on the right direction:

Hope this helps :slight_smile:


#4