How can you detect if an HTML5 audio tag has been listened to for at least x seconds?

Viewed 238

I'd like to log when users listen to an audio element for more than 5 seconds. How can I detect this with HTML5?

1 Answers
Related