Play background video on hover 2

I attempted to apply this script to my site but it doesn’t appear to function on my end. :confused:

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.

That Fixed thank You :smile:

http://luque.webflow.io/art/mariposa/mariposa

1 Like

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?