How can I start a video only when scrolled down to it?

zsoltvarga
Visitor
1 0 0

How can I manage that a video only starts when scrolled down to it, so the visitors can see the whole video from the start?

Replies 2 (2)

Ishan_Makkar
Shopify Expert
115 7 8

Hi @zsoltvarga , Welcome to the Shopify Community!

To make a video start playing only when scrolled down, you can use lazy loading:

Ishan_Makkar_0-1709197764416.png


Feel free to ask me any questions you have,

Hope this helps!

Shopify Expert Since 2012
Sr. Web Solution Manager at MakkPress Technologies
Website Speedy (SAAS tool for Shopify Speed Optimization - Trusted by over 300 Shopify store owners)
Contact Us or Hire Us Or Email Us

Ihor-Sh
Shopify Partner
55 7 15

hi @zsoltvarga 
this could be done with gsap scrollTrigger
or simlpe javascript 'scroll' event listener with additional conditions.

Shopify troubleshootibility 😉