Currently, I can midi files to work as the background music of my website.
However, can anyone suggest an HTML script that allows mp3 or wav files to play as background music?
Currently, I can midi files to work as the background music of my website.
However, can anyone suggest an HTML script that allows mp3 or wav files to play as background music?
<SCRIPT TYPE="text/javascript">
<!--
var filename="hazy_shade_of_winter.mid";
if (navigator.appName == "Microsoft Internet Explorer")
document.writeln ('<BGSOUND SRC="' + filename + '">');
else if (navigator.appName == "Netscape")
document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60><P>');
// -->
</SCRIPT>
<NOSCRIPT>
<BGSOUND SRC="hazy_shade_of_winter.mid">
</NOSCRIPT>
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks