Playing a sound in a webapplication

Hi everybody

I have a question:
How i can play a sound (mp3) into a web application?

Many thanks for the help

Alan

Try this:

Dim f As FolderItem = app.ExecutableFile.Parent.Child("alert.mp3") MediaViewer.LoadPage( "<audio src='" + myccMediaPlayer.GetMediaPlayLocalFileURL(f) + "' autoplay='autoplay'></audio>")

Hi David

Thanks for the tip.

i will let you know if ok

BR

Alan

Also see Examples/Web/Controls/AudioPlayer.

how would that work for a file, not a URL?