title: Start HTML5 video at a particular position when loading?
body: <p>I need HTML5 video to start at certain point.  Let's say at time 50 seconds onward. </p>
  
  <p>I tried but its not working as expected. is there something i am doing wrong? </p>
  
  <p>Here is the code:  </p>
  
  <pre><code>   &lt;video id="vid1" width="640" height="360"&gt;
         &lt;source src="file.webm" type="video/webm" /&gt; 
         Your browser does not support the video tag.
     &lt;/video&gt;
     &lt;script&gt;
         document.getElementById('vid1').currentTime = 50;
     &lt;/script&gt; 
  </code></pre>
  
  <p>When the page loads, it just starts playing from beginning. 
  However if I call this during playback like after some time, it works fine. 
  Is there anything I am missing?</p>