Fires when an element's media file fails to load for any reason.
Syntax
Inline HTML <ELEMENT onmedialoadfailed = "handler" ... > All platforms Event property object.onmedialoadfailed = handler JScript (compatible with ECMA 262 language specification) only Named script <SCRIPT FOR = object EVENT = onmedialoadfailed> Internet Explorer only
Remarks
Bubbles No Cancels No To invoke Open a page in the browser that contains a media file affected by HTML+TIME. The event will fire only if the media file fails to load. Default action Calls the associated event handler.
Event Object Properties
Although event handlers in the Dynamic HTML (DHTML) Object Model do not directly receive parameters, the handler can query the event object for data. For a list of properties of the event object relevant to an onmedialoadfailed event handler, click the following link.
srcElement Retrieves the object that fired the event. type Retrieves the event name from the event object.
Applies To
animation, audio, img, media, par, seq, video