How do you play audio file in web browser?

I need to play an audio file when a particular condition occurs in a web app. The audio file needs to play on the client browser not on the server. How can I do this in Xojo without using third party plugins?

Use ShowURL with a link to an MP3 file.

Take a look at the AudioPlayer example project:


use html5 audio tags.

Thanks everyone