Windows Media Player 11 SDK Controls.previous 

Windows Media Player SDK banner art

Previous Next

Controls.previous

The previous method sets the current item to the previous item in the playlist.

Syntax

  
    
  

Parameters

This method takes no parameters.

Return Values

This method does not return a value.

Remarks

If the playlist is on the first entry when previous is invoked, the last entry in the playlist will become the current one.

Example Code

The following example creates an HTML BUTTON element that uses previous to move to the preceding item in the current playlist. 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