[Home]

Adding sound to your page is very simple. All you have to do is add a couple of lines of HTML code and upload the sound file to your directory. (Remember: filenames are CASE sensitive.) Microsoft Internet Explorer and Netscape Navigator use different codes. So in order for your sound to work with both Netscape and MSIE you have to use two different codes for your sound if you want most people with a sound card to be able to hear it. Here is a simple Java Script that will take care of three browsers with no problems. Of course the viewer has to have a Java Script capable browser to be able to hear your sound. But these days, that's the majority of the browsers:

Be sure the entire line for the embed tag is on one line

Of course you'll have to change the name of the file from sound.mid to the name of your .mid file.  You can also use this for a .wav file. If you don't want your sound to be hidden on the page, and you want your viewers to have the option of stopping the sound.  Use this tag:

That tag will work in Internet Explorer 3.+ and Netscape 2+

You can also link to the sound which will bring up the users default sound player or plugin device.  Just make a link as you normally would:

Article Written By: McWebber Web Design

For more information about sound visit McWebber Web Design Sound page.

McWebber Help
Click this banner to discover more
Click here for LinkBuddies  

We at Zaxie hope that the information in this website is valuable to you.  Your use of the information contained in this website, however, is at your sole risk. All information in this  website is provided "as is", without any warranty, whether express or implied, of its accuracy,  completeness, fitness for a particular purpose, title or non-infringement, and none of the third-party  products or information mentioned in the work are authored, recommended, supported or guaranteed by Zaxie and the @Home Network. Zaxie and the @Home Network shall not be liable for any  damages you may sustain by using this information, whether direct, indirect, special, incidental or  consequential, even if it has been advised of the possibility of such damages.