« Back to Product

Documentation

WAC_SetPosition

 boolean WAC_SetPosition (int $InstanceID, int $Seconds) 

Parameters

InstanceID

ID of the controlled media player

Seconds

Label in seconds

Returns

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

Description

Sets the position marker in the media player with the ID InstanceID to the specified Seconds. The title must be played at execution time already.

Example

WAC_PlayFile(12345, "my.mp3"); //Play title
WAC_SetPosition(12345, 60); //jump on the 1 minute mark in the song
Any questions?