Sounds confusion/issue
Monkey Targets Forums/HTML5/Sounds confusion/issue| 
 | ||
| OK. I have mentioned sound a few times with no response. Im assuming either no one knows the answer or it has already been answered before and I just havent found the thread. So.. I work mostly on a Mac and test mainly in Safari. Now I have reached the stage where I am incorporating sounds into my game and no matter what file formats I supply I cannot get any sounds to play in Safari. The AutoTest also cannot play sounds even if I force it to play the wav files. However when I place this html in the output of the audiotest app and run it the wav file plays just fine. 
<html>
<head>
	<title>Sound Test</title>
</head>
<script>
function init()
{
	var snd = new Audio("data/shoot.wav");
	snd.play();
}
</script>
<body onload="init();">
</body>
</html>
What is going on ? | 
| 
 | ||
| Somehow Safari must handle it differently than Chrome or Firefox. | 
| 
 | ||
| OK... problem found. It seems to be an issue with MServer. I never thought to look at the output from that but when you play a sound in safari it reports an error : Error parsing 'connection' header. if I open the app as a local file it works fine and when I upload it to a web site it also works fine. |