共用方式為


t:PLAYER Attribute | player Property (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.

Sets or gets the object used to render the media associated with this element.

Syntax

XML <ELEMENT t:PLAYER = sID... >
Scripting [ sID = ] object.player

Possible Values

sID String that specifies or receives the class identifier of the object used to render the element's media. The format is "{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}" for registered Microsoft ActiveX controls.

The property is read/write. The property has no default value.

Remarks

Only media playing objects that support HTML+TIME work with this property. This property cannot be modified in script after the onload event fires on the document body.

Applies To

t:AUDIO, t:IMG, t:MEDIA, t:VIDEO

See Also

Introduction to HTML+TIME, playerObject