PositionChange

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

<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

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Events | Compatibility Modes | Playback Methods and Properties

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.