HBCMS更多的中文手册参考:

PLAYER Attribute | player参数属性

DHTML中文手册

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

dhtml语法

HTML<ELEMENT PLAYER = sID... >
Scriptingobject.player [ = sID ]

DHTML可能的值

sIDString that specifies or receives one of the following values.
Class IDThe 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. For example, use "{22d6f312-b0f6-11d0-94ab-0080c74c7e95}" for the Microsoft Windows Media?Player control. For more information about this value, see Remarks.
DMusicThe Microsoft DirectMusic?player.
DVDThe digital video disc (DVD) movie player.

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

Remarks

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

as of microsoft internet explorer 6, authors can use html+time in conjunction with the mediabar behavior to play timed content in the media bar. the media bar content proxy player is provided to ensure that the activetime of an html+time timeline is coordinated with the activetime used by the media bar player control. to coordinate media playing in the media bar with an html+time timeline playing in the media bar content area, specify the class identifier of the media bar content proxy player in the player attribute of the t:media element. the content proxy class identifier is {52ca3bcf-3b9b-419e-a3d6-5d28c0b0b50c}.

DHTML代码范例

The following example applies only to Internet Explorer 6 and later. It demonstrates media playing in the Media Bar, synchronized with an HTML+TIME timeline playing in the Media Bar content area, with {52ca3bcf-3b9b-419e-a3d6-5d28c0b0b50c} specified in the PLAYER attribute of the t:MEDIA element.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
.time {behavior: url(#default#time2);}
</STYLE>
<?IMPORT namespace="t" implementation="#default#time2">
<LINK REL="stylesheet" href="../../common/samples/samples.css" type="text/css">
</HEAD>
<BODY id="oBody">
<t:PAR syncBehavior="locked">
<t:MEDIA id="m1" src="../../common/samples/author/behaviors/media/j0082200.mid"
player="{52ca3bcf-3b9b-419e-a3d6-5d28c0b0b50c}"
syncMaster="true" syncBehavior="locked" begin="1"  />
<t:ANIMATEMOTION id="a1" begin="m1.begin" dur="9" targetElement="oDiv"
path="M 0 0 L 100 300" fill="freeze"/>
<t:SEQ style="font-size:18pt;color:#ff0000" syncBehavior="locked"
begin="m1.begin" fill="freeze">
<DIV class="time" dur="1.5">Add Some Text</DIV>
<DIV class="time" dur="1.5">Or HTML</DIV>
<DIV class="time" dur="2">To Accompany</DIV>
<DIV class="time" dur="2">Media Playing in the Media Bar</DIV>
</t:SEQ>
</t:PAR>
<DIV id="oDiv" class="time"
style="background-color:#FFCC00;position:absolute;height:40;width:120;
top:70;left:10;font-size:18;border-style:solid" >
Falling DIV</DIV>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 6 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

是否符合公共标准

This property is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:REF, t:VIDEO

更多语法参考

introduction to html+time, playerObject