Safari 5.0.5 fails to load m4a via html5 audio when apache basic authentication is used
Has anyone seen this defect?
I have a simple webpage below:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
<audio id="audioplayer" controls>
<source src="res/myaudiofile.m4a" type="audio/mp4" />
<source src="res/myaudiofile.oga" type="audio/ogg" />
</audio>
</body>
</html>
If this webpage is loaded in Safari, the m4a audio loads and I can play it.
But if I enable basic authentication in apache through the .htaccess file, Safari fails to load the m4a file. Instead, it just displays "Loading..." forever:
Note: I also have the mime types set in the .htaccess file.
I've reproduced this on multiple servers and have not yet confirmed whether upgrading from 5.0.5 to 5.1 will fix this.
Thanks,
Eric
Web development for Safari