onStalled method

Audio onStalled(
  1. dynamic fun(
    1. Element,
    2. Event
    )?
)

The stalled event is fired when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming. Read more...

Implementation

Audio onStalled(Function(Element, Event)? fun) {
  if (fun != null) on.call('stalled', fun);
  return this;
}