Jump to content

Pause Background video on button press

Recommended Posts

Hi everyone,

Been puzzling over this one for a bit now and can't seem to locate the answer anywhere else.  Long time lurker, first time poster!

I work in animation and have a gallery page where the background video is a short preview snippet of the video, and when you click the 'play button' the actual video pops up as a light box.

What I can't figure out is how to pause the background video once the play button is clicked (Otherwise it's pretty distracting behind the lightbox video)

I don't particularly mind if the video starts back up again after the lightbox video is closed, but it would be a bonus if it did.

It would be ideal if the solution didn't involve a jQuery as I already have a few of those going for other features and, from what I understand, they generally don't play nice with each other (though I may be wrong about that?)

Link to comment

Please share your site URL so we can understand the particular issue here

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.