« Back to Product

Documentation

WAC_Play

 boolean WAC_Play (int $InstanceID) 

Parameters

InstanceID

ID of the controlled media player

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

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.

Example

WAC_Play(12345); //Play
Any questions?