title: How to autoplay HTML5 mp4 video on Android?
body: <p>I had developed a mobile page by asp.net to play mp4 video.</p>
  
  <p>I know iOS had disabled the autoplay function to minimize user bandwidth, so how can i 
  autoplay HTML5 mp4 video on Android ? </p>
  
  <p>I had already put autoplay in HTML5 code, but it doesn't work.</p>
  
  <p>The following is my code:</p>
  
  <pre><code>&lt;video autoplay controls id='video1' width='100%' poster='images/top_icon.png' webkitEnterFullscreen poster preload='true'&gt;
  &lt;source src='http://192.xxx.xxx.xx/XXXXVM01.mp4' type='video/mp4; codecs='avc1.42E01E, mp4a.40.2' &gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>Moreover, I had fixed the problem that user click on the image overlay can play the video.
  Thanks Karthi</p>
  
  <p>here are the code:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function() {
      $("#video1").bind("click", function() {
      var vid = $(this).get(0);
      if (vid.paused) { vid.play(); }
      else { vid.pause(); }
      }); 
  }); 
  &lt;/script&gt;
  </code></pre>
  
  <p>Thanks</p>
  
  <p>Joe</p>