RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMediaPlayer Methods

The methods of the TMediaPlayer class are listed here.

 
Name 
Description 
 
Enables or Disables the media player's buttons. 
 
Generates an OnClick event. 
 
Generates an OnNotify event. 
 
Provides responses when the user types arrow keys or the space bar. 
 
Initializes the media player after it is loaded from a stream. 
 
Responds to a notification that the MCI device has completed an operation. 
 
Responds when components are about to be inserted or removed. 
 
Renders the image of the media player. 
 
Determines the action that takes place when an OnPostClick event occurs. 
 
Signals that the media player has finished updating. 
 
Name 
Description 
 
Back 
Steps backward a number of frames (determined by the value of the Frames property) in the currently loaded medium. 
 
Closes the open multimedia device. 
 
Releases the loaded medium from the open multimedia device. 
 
Next 
Moves to the beginning of the next track of the currently loaded medium. 
 
Open 
Opens a multimedia device. 
 
Toggles the open multimedia device on or off. 
 
Pauses the open multimedia device. 
 
Play 
Plays the media loaded in the open multimedia device. 
 
Sets the current position to the beginning of the previous track if the position was at the beginning of a track when Previous was called. 
 
Resumes playing or recording the currently paused multimedia device. 
 
Sets the current position to the beginning of the the medium, which is stored in the Start property. 
 
Save 
Saves the currently loaded medium to the file specified in the FileName property. 
 
Begins recording from the current Position or from the position specified in StartPos
 
Step 
Moves forward a number of frames (determined by the Frames property) in the currently loaded medium. 
 
Stop 
Halts playing or recording. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!