I want to play sound when receiving message, so i searched it and found many solution but the simplest solution that i found is
<script>
$('body').append('<embed src="beep.mp3" autostart="true" hidden="true">');
</script>
but the problem is that it does not play sound in Godzilla/IE and play in Chrome. Is there any way to solve this without adding any additional plugin (Mozilla/JQuery). And there is also one problem in chrome that when sound play it's scroll bar of main window moves from it's position. My main problem is playing sound so it's priority is first. anyone knows it solution then plz share with us thanks.
See Question&Answers more detail:os