I’m trying to figure out how to pause a youtube video by clicking a button the page (in my case its a button that brings up a modal)
I found this page here explaining the deprecated youtube method:
Thanks for any help!
edit: I read this post here but I need to pause the video while the modal is open not when the modal is closed.
My same button that opens the modal, I need that button to pause the video.
Maybe @bart can take a look and toss a few words of advice
I was also able to get this to work with my video perfectly:
But using that code in webflow doesn’t work.