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: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. 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