Playing sound
Posted: Fri Jul 29, 2011 12:54 am
I got an ajax shoutbox that works fine. However I am in the moment not able to make a little click sound when a new shout is made by someone else.
I tried to embed a mp3 and call it by java and it worked somewhat but a plugin was needed in firefox and that stopped working with FF4 so I overall disabled the sound.
How can this be archived? I just need whatever small sound to play if I tell it by javascript to do so. I looked over many pages and I am totally confused now.
Do I really have to place a Flash gaget on the site?
I tried to embed a mp3 and call it by java and it worked somewhat but a plugin was needed in firefox and that stopped working with FF4 so I overall disabled the sound.
How can this be archived? I just need whatever small sound to play if I tell it by javascript to do so. I looked over many pages and I am totally confused now.
Do I really have to place a Flash gaget on the site?