Share via


Experience.MediaPosition Property

Gets or sets the current position in the media stream, relative to a starting point.

Note   This property has been deprecated.

Syntax

  Experience.MediaPosition

Property Value

A read/write Number (long) that indicates the current position of the media playback relative to a starting point. The starting point varies according to medium as follows:

Medium Description
DVD Gets or sets the offset from the start of the video, in milliseconds.
FM Radio Gets or sets the offset from the start of the radio "program," in milliseconds. Radio programs are presumed to start in half-hour intervals on the even hour or half hour (for example, 4:00 and 4:30).
TV Gets or sets the offset from the start of the currently playing TV program, in milliseconds.
Video Gets or sets the offset from the start of the video, in milliseconds.

Remarks

The pause buffer for TV or FM radio is up to 30 minutes long, starting from the time the user tunes in. If you specify a value for this property, the new value sets the playback position to a particular point in the buffer. You can set the position to any time that is later than the time when the user tuned in the current channel, up to the current time. Setting the position to a time that occurred before the user tuned in the current channel moves the playback position to the beginning of the buffer. Setting the position to a time that is later than the current time returns Windows Media Center to live playback.

Requirements

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

See Also