Description
This sample demonstrates custom user-interface features that can be used for a Microsoft® Windows® Media Player faceplate. In addition, as media files play, an information panel updates the track information display. The sample displays the following features:
- The information panel is toggled on and off by changing its Cascading Style Sheet visibility attribute.
- There is a Microsoft JScript® setTimeout loop that updates the text within the information panel when the Microsoft Windows Media Player is playing. The loop obtains information about the current track with calls to the GetMediaInfoString method, and changes the displayed text by assigning values to the innerText property on the SPAN elements.
- A timer displays the total track time and the current time position in the playback.
- There is a mute button, which operates by changing the Mute property.
Browser/Platform Compatibility and other Requirements
This sample requires Internet Explorer 5.0 on the Win32 platform.
Related Links
The following links are to related articles.