Ajax::playSound

Usage

void Ajax::playSound(string $wav_file)

Description

Play a sound file located on the server.

Parameters

Parameter Required Type Description
$wav_file Yes string The location of the sound file to play within the web browser.

Examples

Play Sound


$ajax->playSound(SITE_PATH . '/public/plugins/sound/notify.wav');

See Also