Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

onmedialoadfailed Event (deprecated)

This page documents a feature of HTML+TIME 1.0, which was released in Microsoft® Internet Explorer 5. We recommend that you migrate your content to the latest version of HTML+TIME, which implements the SMIL 2.0 Working Draft. See the Introduction to HTML+TIME overview for more information.

Fires when an element's media file fails to load for any reason.


Inline HTML <ELEMENT onmedialoadfailed = "handler(event);" >
Event Property object.onmedialoadfailed = handler;
attachEvent object.attachEvent( "onmedialoadfailed", handler); Internet Explorer only
Named script <SCRIPT FOR = object EVENT = onmedialoadfailed> Internet Explorer only

Event Information

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 DHTML Object Model do not receive parameters directly, a handler can query the event object for the following event properties.

Available Properties

srcElement Gets or sets the object that fired the event.
type Gets or sets the event name from the event object.

Refer to the specific event object for additional event properties.


This event is deprecated.

Applies To


See Also

Introduction to HTML+TIME

Community Additions

© 2015 Microsoft