playing bgsound in IE and Netscape

Is there a script to play the same bgsound in either IE and/or netscape?  
slylyAsked:
Who is Participating?
 
kmartin7Connect With a Mentor Commented:
<script language="JavaScript">
<!--
if ("Netscape" == navigator.appName)
document.write("<embed src=sound1.wav autostart=true loop=true hidden=true volume=75%>")
else
document.write("<bgsound src=sound1.wav loop=infinite>")
//-->
</script>


Kurt
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.