Guest User

Untitled

a guest
Nov 20th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. var doc = window.document;
  2. var audio = doc.getElementById('audio');
  3.  
  4. function getCurrentAudioTime(){
  5. var time = audio.currentTime < 0 ? 0 : audio.currentTime;
  6. return time;
  7. }
Add Comment
Please, Sign In to add comment