Best way to integrate sound into website

audio

Solution

A small swf with the sound controlled by javascript would the the way to go in terms of being cross platform and cross browser.

Problem

I am looking to integrate sound into a website. Basically a chat website where users will hear a sound when a new message arrives. What do you think is the best way to integrate sound? - Javascript to play the sound - Javascript to call a flash swf which plays the sound - Any other method I cant think of? Thank you for your time.

Original source