0

What event can I use when the audio suspended because of insufficient loaded data (slow speeds) ?

Just like:

$audio.on('suspendToLoading',function(){
    alert('loading...');
});

And I had try to use suspend waiting abort load loading. None of them can be work.

Ma Cheng
  • 94
  • 8

1 Answers1

1

You can try the stalled event, however, it is sometimes known to not trigger even if the loading actually has stalled.

The user agent is trying to fetch media data, but data is unexpectedly not forthcoming.

Source

Also see this answer for a possible workaround when stalled does not trigger.

Community
  • 1
  • 1