Share via


Windows Media Player 11 SDK Controls.fastReverse 

Windows Media Player SDK banner art

Previous Next

Controls.fastReverse

The fastReverse method starts fast scanning of the media item in the reverse direction.

Syntax

  
    
  

Parameters

This method takes no parameters.

Return Values

This method does not return a value.

Remarks

The fastReverse method scans the clip in reverse at five times the normal speed, displaying only the key frames if it is a video file. Invoking fastReverse changes the Settings**.rate** property to –5.0. If rate is subsequently changed, or if play or stop is called, Windows Media Player will cease fast reverse.

If the item is part of a playlist, fastReverse stops at the beginning of the current track. For instance, if track 3 is in fastReverse, when the beginning of track 3 is reached, Windows Media Player will not go to track 2. The play count is not incremented when calling fastReverse.

If you call fastForward while fastReverse is in effect, fastReverse will be stopped and fastForward will begin.

This method does not work for live broadcasts and certain media types. To determine whether you can use fast reverse in a clip, call isAvailable("FastReverse").

Example Code

The following example creates an HTML BUTTON element that uses fastReverse to start fast-reverse play of the media item. The Player object was created with ID = "Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next