title: mediaelement.js - pause/play onclick for video?
body: <p>What's the easiest way to add pause/play functionality by clicking anywhere in the video element similar to most video players?</p>
  
  <p>I tried:</p>
  
  <pre><code>$('video').click(function() {
  
          if($(this).paused){
  
              $(this).play();
  
          } else {
  
              $(this).pause();
  
          }
  
  
      });
  </code></pre>
  
  <p>But it didn't like the $(this).pause() call. Any help is appreciated. Thanks.</p>
  
  <p>DS</p>