Streaming live at 10am (PST)

"Lightbox" Video issue


#1

Hey guys!

So i stumbled upon this issue: i'm building a site for a design studio and i need to have a "play" button on the home screen, opening a lightbox-style overlay with just the vimeo embed. So far so good, but:

1) Is there a way to have the video play automatically once the overlay is on?

2) When i click anywhere outside the video the overlay closes, but if the video is still going it doesnt stop, is there a way to make it stop once its invisible?

Many thanks to whoever is able to help me out with this :smile:
Guil


Here is the link to the site so far: http://estudiopira.webflow.io


#2

Hey @gmaueler, loving the look! Use the Embed option inside your lightbox, and use Vimeo's embed code:

Instructions for using Share to create video embed on Vimeo: https://vimeo.com/help/faq/sharing-videos/embedding-videos#how-do-i-embed-a-video-on-another-site

After that, you can control autoplay functionality: https://vimeo.com/help/faq/sharing-videos/embedding-videos#how-do-i-set-videos-to-autoplay-or-loop-when-i-embed-them

As for the second question, I'm not entirely sure how to go about that.


#3

or use the lightbox component that Webflow already supplies you with :smiley:

http://help.webflow.com/lesson/lightbox


#4

Ah yes! i knew there was something i was missing :smiley: Thanks for that!


#5

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.