Click to return to the DHTML, HTML     
onload Event     onmedialoadfailed Event     Default Behaviors Referen...    
Web Workshop  |  DHTML, HTML & CSS

onmediacomplete Event


This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedback, please note that these features are subject to change.

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.

Event Object Properties

srcElementRetrieves the object that fired the event.
typeRetrieves the event name from the event object.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
animation, audio, img, media, par, seq, video


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.