Experience Object

Provides a way for HTML applications to retrieve information about the current Windows Media Center experience.

Note   Hosted HTML has been deprecated. To use the new features of the Windows Media Center SDK, you must develop a Windows Media Center Presentation Layer application. However, if you still want to develop a hosted HTML application or update an existing application, you can download and use the previous version of the Windows Media Center SDK from the Microsoft Download Center.

The Experience object exposes the following properties:

Property Description
MediaPosition Gets or sets the current position in the media stream.
MediaProperties Gets a specific property or all properties for the current playing media.
PlayRate Gets or sets the current play rate associated with the current media.
PlayState Gets the play state of the current media.
Type Gets the type of the currently playing media.

The Experience object exposes the following methods:

Method Description
GoToFullScreen Moves the current media playback experience into full-screen mode.
MediaProperty Gets a value of a specific property for the current playing media.
SkipForward Invokes the skip-back action on the current media.
SkipBack Invokes the skip-forward action on the current media.

See Also