ā–¼
Streaming live at 10am (PST)

Pause Youtube Video With Button


#1

Hey guys!

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:
http://help.webflow.com/how-to-control-youtube-video-using-javascript

Thanks for any help!

Travis

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 :smile:

I was also able to get this to work with my video perfectly:
http://jsfiddle.net/av359/

But using that code in webflow doesn't work.


#2