Share via


Windows XP Media Center Edition SDK Scripting for Media Center 

banner art
Previous Next

Scripting for Media Center

Media Center hosts within its own browser window the engine for Microsoft Internet Explorer. Scripting for HTML applications in Media Center is similar to scripting for Internet Explorer. The same scripting languages are supported, as are dynamic HTML (DHTML), cascading style sheets, and the Internet Explorer object model. In addition to the normal Internet Explorer features, Media Center enables Web pages to control various Media Center functions that occur outside the HTML host, such as media playback.

These Media Center functions are accessed through the MediaCenter object, from the window.external namespace. For detailed reference information about the properties and methods supported by MediaCenter and its related objects, see Media Center Hosted HTML Object Model Reference.

This section includes the following topics.

Topic Description
About the Remote Control Device Describes the buttons on the remote control.
Navigation Using the Remote Control Device Describes how to add scripts that allow the user to navigate your HTML application by using the remote control.
Managing the Focus Describes how to write scripts that keep track of the focus, move the focus in response to user input, and highlight the item that has the focus.
Playing Media Describes how to add scripts to play media content in the shared and custom viewports.
Using the "More With This" Feature Describes how applications can add context-sensitive entry points that provide access to additional application-defined content.
Using the Services Feature Describes how to register entry points that enable the user to access applications from within the various Media Center experiences.
Accessing the Parental Control Settings Describes how applications can access the current Media Center parental control settings.
Identifying Media Center from an HTML Page Describes how an HTML page can determine whether it is being accessed from a Media Center PC.
Debugging Describes how to use the debugging capabilities of an integrated development environment to debug scripting code in HTML applications.

See Also

Previous Next

© 2005 Microsoft Corporation. All rights reserved.