There are 2 (invisible) frames at this site. If you see any frames you are probably stuck in someone else's. FIX IT HERE |
Website Primer
Section 5. Sounds, to Embed or not to Embed
When it comes to multimedia embedding on websites I take a cautious approach, and these are the reasons why:
For Netscape use the following:
<EMBED SRC="yoursoundfile.wav" AUTOSTART=TRUE LOOP=1 WIDTH=0For MSIE use the following:
HEIGHT=0></EMBED>
<bgsound src="yoursoundfile.wav" loop=1>The following is a script which will check the browser being used and it will load the appropriate tags (statement), forcing compatibility. It is done using Javascript and the logical arguments (if, and, or, equals.). However, it is now giving problems in our newer browsers and or plugins......but try it first...
<SCRIPT LANGUAGE="JavaScript"> <!--// if (navigator.appName == "Netscape") { document.write('<EMBED SRC="yoursoundfile.wav" AUTOSTART=TRUEThe previous will also work for midi sound files. Be careful of the file's size, anything over 20Kbytes will slow things down, especially if looping the sound, playing it infinitely over and over ad infinitum. Please don't do that. For those who are having trouble with the javascript do the following...copy both the MSIE and Netscape codes over as one entity....the one which doesn't work will just be ignored, and to blazes with the javascript version.
LOOP=1 WIDTH=0 HEIGHT=0></EMBED>') } else { if (navigator.appName == "Microsoft Internet Explorer")
document.write('<BGSOUND SRC="yoursoundfile.wav" LOOP="1">') } //--> </SCRIPT>
<bgsound src="yoursoundfile.wav" height=54 width=200 autostart=true loop=1> <EMBED SRC="yoursoundfile.wav" autostart=true width=200 height=54 loop=0></EMBED>You can play with the height and width statements to size your console...
This goes on your page which calls the text file, the text file in turn calls the audio file to stream...(loads the RealAudio application)
<A HREF="blues.ram">"Croaker Blues"</A>
text file below, is saved as blues.ram
http://www.fortunecity.com/millenium/fairview/50/blues.rm |
---|
One does exactly the same for streaming mp3 files...save the actual sound file with the .mp3 extension, then build a m3u file in exactly the same manner as a ram file but save it with the .m3u extension. Careful with mp3's..they are huge files, and for streaming you should make a copy of the high-grade file using 24 bit compression. This lower quality sound is known as lo-fi and streams much better.
Be careful where you upload your RA or MP3 files, as not all servers are configured to stream these files.
The Rules Backgrounds Music
Java Compatibility
Main Site Index Ratings System Icons |
---|
Copyright © 1999 Ed Ladeur,