title: How to play a video inside mobile safari
body: <p>I'm using a simple HTML5 video tag to reproduce an mp4 video in the iphone browser but it always open the video player on the iphone.</p>
  
  <p>Is there a way to play the video inside the browser?</p>
  
  <pre><code>&lt;video src="http://video-js.zencoder.com/oceans-clip.mp4"
          autoplay="autoplay" &lt;!-- Boolean attribute. Omit to prevent autoplay. --&gt;
          start="00:00:00.00"
          loopstart="00:00:00.07" &lt;!-- 7 seconds --&gt;
          loopend="00:00:00.19"
          end="00:00:00.27"
          playcount="4" &lt;!-- play 4x --&gt;
          controls="true"
          width="640"
          height="480"
  &gt;
  </code></pre>
  
  <p>This is my code I'm using, and works well in a normal browser but in the iphone it allways opens in the video player.</p>
  
  <p>Thanks!</p>