Share via


MediaCenter.ScreenSaverEnabledHint Property

Gets or sets a value indicating whether the current HTML page allows the screen saver to interrupt the media experience.

Note   This property has been deprecated.

Syntax

  MediaCenter.ScreenSaverEnabledHint

Property Value

A read/write Boolean value that is true if the current HTML page allows the screen saver to interrupt the media experience, and false if it does not.

Remarks

The screen saver will be blocked only when the current media experience meets all of the following criteria:

  • The content is from a hosted HTML application.
  • The current HTML page has set the ScreenSaverEnabledHint property to false.
  • The current HTML page contains a custom view port.
  • The custom view port contains video from TV, My Videos, DVD, or visualizations.
  • The video is playing (not stopped or paused).
  • Windows Media Center is in full-screen mode (that is, the Windows Media Center shell is maximized).

Because this property is not persisted across HTML pages, leaving a page that set the property to false restores the property to true. To maintain the false state, an application must explicitly set this property on all appropriate HTML pages.

Requirements

Platform: HTML application hosted within Windows XP Media Center Edition 2005 through Windows Vista

See Also