Hey guys. I have a website which has a collection list with each collection item being a vimeo video.
I’ve written some simple JS code to pause the video on mouse out, and play on mouse in. However, that only applies to the first CMS item, not all of them. When I hover in/out on the 2nd video, the 1st video starts plays/pauses.
I need to be able to control the play/pause functions on each of the Vimeo embeds, not only the first one like is happening now.
Here is a SS of the code:
Can someone please help me?
Here’s a read only link to the project: Webflow - CinematicAB