title: HTML5 Video autoplay on Mobile Browser
body: <p>I am using the following HTML5 and JQuery code to play a playlist of videos whose URLs are in an array URLArray[].</p>
  
  <pre><code>function NextFrag(){
  
   if (index &lt; URLArray.length)
   {
     $("#VideoContainer").html('&lt;video  id="video1" controls autoplay width="95%"&gt; "&lt;source src= "'+ URLArray[index]+ '" type="video/mp4"&gt;&lt;/source&gt; &lt;/video&gt;' );
     index++;
     $("#video1").bind( "ended", NextFrag);
   }
  }
  </code></pre>
  
  <p>As we know that the autoplay feature of HTML5 is disabled in all mobile phones, as a result I have to play manually each video clip on mobile phone. which is definitely what I do not want.</p>
  
  <p>I really want to know the alternative to this. I am really interested in code segment that I can include to make like autoplay without involving user to interact.</p>
  
  <p>Is it possible to convert this to an android app to work. I am really in need to make it work like a play list, and I have no concern about how, I just need this functionality.</p>
  
  <p>Please help.</p>