I attempted to apply this script to my site but it doesn’t appear to function on my end.
Mariposa Home
https://preview.webflow.com/preview/luque?preview=f5d230b5f745abee8a12650f60e71bc3
I attempted to apply this script to my site but it doesn’t appear to function on my end.
Mariposa Home
https://preview.webflow.com/preview/luque?preview=f5d230b5f745abee8a12650f60e71bc3
Hi @LELuis,
Please provide the published link to the page. It should look like this http://luque.webflow.io/mariposa
For the code .video
is the classname of your background video. If the classname is different, change this part of the code.
Is there a way to do this when the video is within a set area? I am thinking within a feed, like twitter - when it is in view, it plays (muted), you can tap an unmute button. Then as you scroll it up it stops playing…
Is that possible?