onmediacomplete Event?deprecated)

Internet Development Index

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 the element's associated media is finished loading.

Syntax

Inline HTML<ELEMENT onmediacomplete = "handler" ... > All platforms
Event propertyobject.onmediacomplete = handlerJScript only
object.onmediacomplete = GetRef("handler")Visual Basic Scripting Edition (VBScript) 5.0 or later only
Named script <SCRIPT FOR = object EVENT = onmediacomplete> Internet Explorer only

Event Information

BubblesNo
CancelsNo
To invoke Open a page in the browser that contains a media file affected by HTML+TIME.
Default action Calls the associated event handler.

Available Properties

Available Properties

Remarks

When a streaming media file is used, this event could fire before the file starts playing.

Standards Information

This event is a Microsoft extension to HTML+TIME (Timed Interactive Multimedia Extensions) Non-Microsoft link.

Applies To

t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, t:VIDEO

See Also

Introduction to HTML+TIME