Time Sensitive Greeting – Using Pre-Recorded Audio

Greet your visitors according to the time of day

Click the play button or call the determineAndSpeak() function to hear the audio.

This example uses a the vh_sceneLoaded() JavaScript API event handler to call a function to determine the hour of the day and play a corresponding greeting.

Please view the source of this page to see how this is implemented.

© 2003 Oddcast Inc. All Right Reserved