Reputation: 606
<audio id="audio1" controls>
<source src="audio/audio2.mp3" type="audio/mpeg">
<source src="audio/audio2.ogg" type="audio/ogg">
<embed height="50" width="100" src="audio/audio2.mp3">
I just want to get 1.Duration of the audio file. 2.the timing of audio file when i press pause..
please state me answer in javascript or jquery
Thanks in advance
Upvotes: 1
Views: 87
Reputation: 26434
With jQuery:
Upvotes: 1