title: How can I pause a YouTube video when a button is clicked with jQuery?
body: <p>I have a jQuery slider (mostly identical to the <a href="http://slidesjs.com" rel="nofollow noreferrer">http://slidesjs.com</a> one). I haven't had luck finding an answer to the question of how to pause the "current" or visible slide's YouTube video when the "next" or "previous" button is pressed while also changing the slide itself. I'm using YouTube's iFrames instead of the old embed code, too.</p>
  
  <p>Is there a way to achieve this function with the iFrames? I know that the Anything Slider ( <a href="http://css-tricks.com/anythingslider-jquery-plugin/" rel="nofollow noreferrer">http://css-tricks.com/anythingslider-jquery-plugin/</a> ) boasts the ability to stop videos, but I'm not sure how it's achieved.</p>
  
  <p><a href="https://stackoverflow.com/a/8083093">This</a> sounded like it would work, but I'm not sure how to tie it in with an event to set off the video pause function. </p>
  
  <p>Any help would be greatly appreciated.</p>