Class: MediaSourceErrorEvent

MediaSourceErrorEvent

new MediaSourceErrorEvent(target, code, url, last)

Class of events raised when media error occur on a source
Parameters:
Name Type Description
target antie.widgets.Media The media widget that fired the event.
code Integer Error code.
url String URL of source which raised error.
last Boolean True if the source was the last source available.
Source:

Extends

Methods

isDefaultPrevented()

Check to see if the default handler has been prevented.
Inherited From:
Source:
Returns:
Boolean true if the default handler has been prevented.

isPropagationStopped()

Check to see if the propagation of this event has been stopped.
Inherited From:
Source:
Returns:
Boolean true if the event has been stopped, otherwise Boolean false.

preventDefault()

Prevent any default handler being called for this event.
Inherited From:
Source:

stopPropagation()

Stop propagation of the event through the widget tree.
Inherited From:
Source: