I have a simple page with sound :
........
<script type="text/javascript" language="javascript" src="script/music.js"></script>
.......
[music.js]
document.write("<embed src=audio/"+rand(19)+".mid"+" hidden=true autostart=true volume=100 loop=yes>");
document.write("<noembed>");
document.write("<bgsound src=audio/"+rand(19)+".mid"+" hidden=true autostart=true volume=0 loop=infinite>");
document.write("</noembed>");
document.write("</embed>");
.....
I use both 'embed' and 'bgsound' tags to make sure both FF and IE will work, and I tested both worked in previous version of FF and all version of IE, but now I get no sound on FF 3, strange is that, when I open the file locally I get sound, but FF won't play sound when browsing the page via the internet. Opera also gives no sound, what's up here
........
<script type="text/javascript" language="javascript" src="script/music.js"></script>
.......
[music.js]
document.write("<embed src=audio/"+rand(19)+".mid"+" hidden=true autostart=true volume=100 loop=yes>");
document.write("<noembed>");
document.write("<bgsound src=audio/"+rand(19)+".mid"+" hidden=true autostart=true volume=0 loop=infinite>");
document.write("</noembed>");
document.write("</embed>");
.....
I use both 'embed' and 'bgsound' tags to make sure both FF and IE will work, and I tested both worked in previous version of FF and all version of IE, but now I get no sound on FF 3, strange is that, when I open the file locally I get sound, but FF won't play sound when browsing the page via the internet. Opera also gives no sound, what's up here