Page 1 of 1

Playing sound

Posted: Fri Jul 29, 2011 12:54 am
by AGISB
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?

Re: Playing sound

Posted: Fri Jul 29, 2011 6:26 am
by Weirdan
flash - yes, gadget - no. You could use js library that uses flash (or native html5 support) to play sounds, like soundmanager

Re: Playing sound

Posted: Fri Jul 29, 2011 12:47 pm
by califdon
Moved thread to HTML forum. No PHP involved in this.