Click here to Skip to main content
15,920,383 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i had created a website which includes chatting with friends, i have used a button and whenever a message comes the button turns red, now i want that whenevr a message comes a sound to be played,
how can i do this, please help me out.
Using VS 2012 with mysql
Posted

1 solution

As it can be very complicated to create JavaScript functionality to play sound for all the browsers I would suggest you use some library made for that...
A list I found on Google:
SoundManager[^]
jPlayer[^]
SoundJS[^]
howler.js[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900