Player.versionInfo

The versionInfo property retrieves a String value specifying the version of the Windows Media Player.

Syntax

player .versionInfo

Possible Values

This property is a read-only String in the following format: "X.0.0.YYYY" where X represents the major version number and YYYY represents the build number.

Examples

The following example creates an HTML BUTTON element that, when clicked, displays a message box containing the version information for Windows Media Player. The Player object was created with ID = "Player".



<INPUT TYPE = "BUTTON"  ID = "VERSION"  VALUE = "Show Version"
    onClick = "
        /* Build the message containing the version info. */
        var message = 'Windows Media Player Version: ';
        message += '\n';
        message += Player.versionInfo;
 
        /* Display the message box. */
        alert(message);
">



Requirements

Version

Windows Media Player version 7.0 or later.

DLL

Wmp.dll

See also

Player Object

 

 

Show: