title: How see on display minute and second CurrentTime <video> in html5 if use jquery?
body: <p>I want see on display CurrentTime minute and second video.</p>
  
  <pre><code>var id = $('#main_video_player');
  
  alert(id.get(0).currentTime); //worked i see '12.324543356'
  
  var minnow=id.get(0).currentTime.split('.')[0];   
  alert(minnow); //not worked
  
  var secnow=id.get(0).currentTime.split('.')[1].substr('0','1');   
  alert(secnow); //not worked
  </code></pre>
  
  <p><strong>Thanks all for help=)</strong></p>
  
  <p><strong>Right code for show seconds:</strong></p>
  
  <pre><code>alert(time.toString().split('.')[0]);
  </code></pre>
  
  <p><strong>Code down for show correct time in hours, minute an second:</strong></p>
  
  <pre><code>var id = $('#video');
  
  timenow=id.get(0).currentTime;
  
  if (parseInt(timenow)/60&gt;=1) {
          var h = Math.floor(timenow / 3600);
          timenow = timenow - h * 3600;               
          var m = Math.floor(timenow / 60);
          var s = Math.floor(timenow % 60);
          if(h.toString().length&lt;2){h='0'+h;}
          if(m.toString().length&lt;2){m='0'+m;}
          if(s.toString().length&lt;2){s='0'+s;}
          alert(h+' : '+m+' : '+s);          
      } else {
          var m = Math.floor(timenow / 60);
          var s = Math.floor(timenow % 60);
          if(m.toString().length&lt;2){m='0'+m;}
          if(s.toString().length&lt;2){s='0'+s;}
          alert(m+' : '+s);
  }
  </code></pre>