Duration
The duration property lets you know how long the current audio player’s sample is:
Current Time
You can grab the current time like this:
… and set it as well
If you want to get a constant update for the current time, you’ll have to use a Timer
.
Example