boolean WAC_Play (integer $InstanceID)
InstanceID | ID of the controlled media player |
If the command succeeds, it returns TRUE, otherwise FALSE. |
Starts playing the playlist from the internal media player with ID InstanceID. If you have not added any files, you can do so via WAC_AddFile. A direct function to play a single file is WAC_PlayFile. Please also note the supported file formats that can be found on WAC_PlayFile.
Should be a playback has already been started, by calling this command starts playback from the beginning of the file.
If the playlist is empty, an error message is generated.
WAC_Play(12345); //Play