Jul 29, 2010
Play Sounds on Web with SoundManagerSometimes i hope i can set different sounds on buttons to play onClick OR on mouseOver like events. Now i can do this very easily. I found a new thing named SoundManager, you can insert music in html, Yes now its easy to adding sound to web pages. I am planing to html music player.
SoundManager DownloadThere are two versions of SoundManager, i am using the version V1, working well for me, you can download it from here.
Adding Sounds to SoundManagerSimply paste your audio file (poo.mp3) in audio folder and add code in the sound-config.xml --
<sound id="poo" href="poo.mp3" />
Adding Sound to Web PageCODE
<!-- soundManager appends "hidden" Flash to the first DIV on the page. -->
<!-- debugger output goes here. -->
<!-- this element can be removed or hidden via CSS as it is optional. --> </div>
DemoYou can see the working demo here.
If this article helped you and you are feeling very Thankful. You can send me Bitcoins
By : Motyar+ @motyar