External.OnColorChange Event
[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Note
This topic describes functionality designed for use by online stores. Use of this functionality outside the context of an online store is not supported.
The OnColorChange event occurs when the color of the Windows Media Player user interface changes.
window.external.OnColorChange = FunctionName
Possible Values
This is a write-only property that specifies the name of the function in script that Windows Media Player calls when the event occurs.
Parameters
The function that handles this event takes no parameters.
Remarks
Users can change the color of the Windows Media Player user interface. You can use this event to customize the appearance of your hosted webpage to match the Player.
Requirements
Requirement | Value |
---|---|
Version |
Windows Media Player 9 Series or later |
DLL |
|