Share via


Windows Media Player 11 SDK Controls.fastForward 

Windows Media Player SDK banner art

Previous Next

Controls.fastForward

The fastForward method starts fast play of the media item in the forward direction.

Syntax

  
    
  

Parameters

This method takes no parameters.

Return Values

This method does not return a value.

Remarks

The fastForward method plays the clip back at five times the normal speed. Invoking fastForward 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 forwarding.

The fastForward method does not work for live broadcasts and certain media types. To determine whether you can fast forward in a clip, call isAvailable("FastForward").

Example Code

The following example creates an HTML BUTTON element that uses fastForward to start fast 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