Fires when the element's associated media finish loading.
Syntax
Inline HTML <ELEMENT onmediacomplete = "handler" ... > All platforms Event property object.onmediacomplete = handler JScript (compatible with ECMA 262 language specification) only Named script <SCRIPT FOR = object EVENT = onmediacomplete> 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. Default action Calls the associated event handler. When a streaming media file is used, this event could fire before the file starts playing.
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 onmediacomplete 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