Share via


PositionChange

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This event occurs when the current media position changes, such as when the user selects (or seeks to) a new media position.

Compatibility: Windows Media Player

Syntax

<SCRIPT FOR="MediaPlayer" EVENT="PositionChange(dblOldPosition, dblNewPosition)" 
LANGUAGE="JScript">
  //insert script commands//
</SCRIPT>

Parameters

  • dblOldPosition
    Double value indicating the position before it changed, in seconds.
  • dblNewPosition
    Double value indicating the current position, in seconds.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Events

Concepts

Compatibility Modes
Playback Methods and Properties