title: MediaElement.JS & setCurrentTime() for an iPad
body: <p>I am currently using MediaElement.js for a HTML5 video page on my site.</p>
  
  <p>I am saving the position of the video when the user leaves the page/site so that when they return where they left off.</p>
  
  <p>I got this working fine in a browser however when I try this for an iPad I am unable to use <code>setCurrentTime()</code>.</p>
  
  <p>I have tried using the following in the playing event and also <code>loadedmetadata</code> event
  both work fine in Chrome but not an iPad.</p>
  
  <pre><code>player.addEventListener('loadedmetadata', function (e) {
      if (savedPosition &gt; 0) {
          // Debug
          console.log('[StartFrom]' + savedPosition);
  
          // Set the start time from the relation in seconds
          player.setCurrentTime(savedPosition);
  
          // Debug
          console.log('[CurrentPosition]' + player.currentTime);
  
          // Set the video has played flag - so if paused and played it is not 
          // reset to start time
  
          videoHasPlayed = true;
      }
  }, false);
  </code></pre>
  
  <p>Does anyone have any smart ideas on how to help me resolve this please?
  <a href="https://github.com/johndyer/mediaelement/issues/243" rel="nofollow">https://github.com/johndyer/mediaelement/issues/243</a></p>