Getting control of YouTube via Javascript
by Matt Reimer | October 7th, 2011 |
Recently I was trying to write a WordPress slideshow plugin that would include YouTube videos. The challenge was that when I play the video I want to pause the slide. On regular picture slides I just needed to add a click() event listener to the slide object and attach a call to pause jQueryCycle.