title: How to get currentTime from audio player?
body: <p>I am using mediaelement.js as an audio player. How to get currentTime from player?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var player = new MediaElementPlayer('#player audio');
  player.play();</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/2.18.1/mediaelement-and-player.min.js"&gt;&lt;/script&gt;
  &lt;link href="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/2.18.1/mediaelementplayer.min.css" rel="stylesheet" /&gt;
  
  &lt;div id="player"&gt;
  
    &lt;audio type="audio/mp3" controls="controls"&gt;
      &lt;Source src="http://mediaelementjs.com/media/AirReview-Landmarks-02-ChasingCorporate.mp3"&gt;&lt;/Source&gt;
    &lt;/audio&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>