title: Wistia API play/pause button
body: <p>I am working with the Wistia API and want one link which will toggle the Wistia video to play and pause. I am having no issues at all getting the video to play or pause independently but when I toggle the class on an element, it no longer seems to work. What am I doing wrong? Any ideas?</p>
  
  <pre><code>$( ".video-pause" ).click(function() {
      wistiaEmbed.pause();
  });
  $( ".video-play" ).click(function() {
      wistiaEmbed.play();
  });
  $( "#video-play-pause" ).click(function() {
       $("#video-play-pause").toggleClass("video-pause").toggleClass("video-play");
  });
  </code></pre>