Поделиться через


PositionChange (Windows Embedded CE 6.0)

1/6/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