Jump to content

HAYDEN - CSS to automatically close lightbox after embedded video has finished playback

Recommended Posts

Site URL: http://richhamiltonvo.com

HELLO!  Using the Hayden template.  I have embedded videos from vimeo that open and play in a lightbox after you click on their associated images in the gallery.  While I know you can close the light box at any time by either clicking outside it, or clicking the 'x' in the corner, I'd also like it to close automatically after the embedded videos have finished playing so that the user isn't left sitting in front of an empty lightbox.  Any help would be greatly appreciated, thank you!

Link to comment
  • Replies 0
  • Views 740
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.