title: HTML5 popcornjs video have seconds offset/delay in android smartphones/tablets
body: <p>I'm developing a interactive <code>HTML5</code> video with <code>HTML</code> elements over it. I'm using the javascript library popcornjs to jump to specific seconds, make loops in the video and show and hide html elements in some seconds.</p>
  
  <p>It is working fine in desktop browsers but when I try it in android smartphones or tablets there are a delay or offset in the seconds of the video.</p>
  
  <p><strong>For example</strong>:</p>
  
  <p>I have a loop between seconds 8 and 12 of the video and it change to 7 and 11 in mobile. </p>
  
  <p>I'm using the function <code>currentTime()</code> of <code>popcornjs</code>. The video format that I'm using is <strong>mp4</strong>.</p>
  
  <p>What could it be the problem?</p>
  
  <p>EDIT: Analyzing deeply the problem it seems that the function <code>currentTime()</code> works fine, this goes to the correct second but immediately the player goes to a wrong second.</p>
  
  <p><strong>For example</strong>:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>popcorn.currentTime(8);
  popcorn.pause();</code></pre>
  </div>
  </div>
  </p>
  
  <p>In this code, <code>currentTime()</code> goes to second 8 and pause correctly but if I play the video, it immediately go to the second 7. </p>
  
  <p>If I use <code>currentTime()</code> with the second 9, 10, 11 or 12, it still goes to second 7. With the parameter 13 it goes correctly to the second 13.</p>
  
  <p>It seems there is allways a range of seconds which go to the same second using <code>currentTime()</code>.</p>