Is there an event callback to know when html5 <audio> has loaded the audio and is playable?

Viewed 7979

I have controls that load mp3 files from other sites, but if it take the audio file a while to start loading, the controls stay disabled for a few seconds and appear not to be working.

If I show an activity indicator when the audio control starts loading the resource, is there a callback I can use to hide the indicator when the audio control is ready to start playing the audio and ready for user interaction?

2 Answers
Related