title: hmtl:play video in fullscreen mode and pause when backpressed (exit fullscreen mode)
body: <p>i am using below code to play video
  see link for detail :<a href="http://liveweave.com/gaDcmn" rel="nofollow">http://liveweave.com/gaDcmn</a></p>
  
  <pre><code>    var v = document.getElementById("myVideo"); 
  
      $(document).on('click', v, function (e) {
          if (v.paused === false) {
              v.pause();
          } else {
              v.webkitEnterFullscreen();
              v.play();
          }
  
          return false;
      });
  
  &lt;video width="80%" height="auto" controls="controls" id="myVideo"&gt;
                  &lt;source src="video/kitkat_converted.mp4" type="video/mp4" /&gt;
              &lt;/video&gt;
  </code></pre>
  
  <p>now 
  i am able to play pause vidoe in my brwoser but i get belwo problem in android browser:</p>
  
  <pre><code> 1. 1:i want that when we click play button it plays in fullscreen mode 
      but when i click again it does not gets paused
  
   2: Problem in both android When i backpress   fullscreen video in android  or browser exitfullscreen video
  
  Video must get paused but it keeps on playing , what to do to pause video when not in fullscreen mode
  </code></pre>
  
  <p>what to do for it</p>