What can we improve?

Documentation

(Edit)

Translation is in progress...
Not all topics are available at the moment and content links may be broken.

WAC_AddFile

boolean WAC_AddFile (integer $InstanceID, string $Filename)

Parameters

InstanceID ID of the controlled media player
Filename Path to the file to be played

Returns

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

Description

Adds a file to the internal playlist of the Media Player with ID InstanceID.

It does not check whether the file already exists. The same file can appear several times in the playlist.

To start playing, you must call WAC_Play.

Example

//Please note the slashes in the path.
//The exact meaning you can read in the PHP manual:
//http://de.php.net/manual/de/language.types.string.php
WAC_AddFile(12345, "D:/MP3s/favoritesong.mp3");
Deutsche Webseite verfügbar
Go to cart
Any questions?