How does the lightbox shortcake work with stopping videos when closed?
I’m trying to get the same function to work using the V2 Modal element.
I’ve tried implementing the Vimeo Api in the global JS with a couple of different scripts (I’m a total noob when it comes to JS so I have no idea if this is close or not)
OR
I’m trying to the video on this page: https://bluestack.media/homenew/
to pause or stop whenever the user closes the modal before the video has finished playing.
Can this be done?