Guest Posted August 17, 2020 Share Posted August 17, 2020 Site URL: https://heptagon-halibut-debs.squarespace.com Hello! I like the background video feature in which you can add background videos to sections, however, is there a way to play the video upon scrolling to it when it enters the viewport? Background videos auto-play by default, and I would like the video to play when the user eventually scrolls to it. My website is just one of the templates on Squarespace, with a 4k video of Costa Rica video linked in one of the sections towards the bottom. How would I do this to that video as an example? Link to comment
katielynn Posted June 3, 2022 Share Posted June 3, 2022 I have the same question! Does anyone know? Link to comment
Solution paul2009 Posted June 3, 2022 Solution Share Posted June 3, 2022 On 8/17/2020 at 1:09 AM, Fuzzz said: is there a way to play the [background] video upon scrolling to it when it enters the viewport? @katielynn It is possible to code this using JavaScript but as it isn't straightforward you may want to take a look at this paid plugin called Background Videos Utils. It can pause/play Youtube and/or Vimeo background videos as they come into the viewport. Did this help? Please give feedback by clicking an icon below ⬇️ katielynn 1 About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
katielynn Posted June 8, 2022 Share Posted June 8, 2022 Thank you @paul2009! This worked like a charm. It was bugging me so much so this helps. Cheers! Katie paul2009 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment