共用方式為


isDirectMusicInstalled Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Gets a Boolean value that indicates whether Microsoft DirectMusic is installed on the machine.

Syntax

[ bInstalled = ] playerObject.isDirectMusicInstalled

Possible Values

bInstalled Boolean that receives one of the following values.
false
Default. DirectMusic is not installed.
true
DirectMusic is installed.

The property is read-only. The property has a default value of false.

Example

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
    .time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>

<BODY>
<t:media id="media1" player="Dmusic" src="" />
<BR><BR>
isDirectMusicInstalled: <SPAN id="message" class="time" dur="1" repeatCount="indefinite"
    onrepeat='innerText=media1.playerObject.isDirectMusicInstalled '></SPAN>
</BODY>
</HTML>

Applies To

playerObject

See Also

Introduction to HTML+TIME