To DWD home
Site Map
Sample Sites
Meet The Designer
Design Techniques
Sample Pages
What's New
Order
Email Us
Back to Techniques >

To Insert Sound Files On A Web Page:

The first time you attempt to add sound to a page might be a frustrating experience unless you start simply. This is because there are a number of problems associated with sound.

1. There are a variety of plug-ins, and they don't all play the same kinds of files.

2. Plug-ins vary from user to user, and some people are wary of downloading these mini-programs in order to experience your site.

3. If sound files are too large, they require an irritating wait before you can hear them -- unless they are streamed or burst.

4. Streaming and bursting are relatively new processes, and do require particular plug-ins.

To Minimize Difficulties - Start With Midis:

Midi files work with all systems by using their sound cards. No plug-ins are required. They may sound different from one user to the next, but it is an easy way to begin.

Finding Midi Files:

1. Surf the Web for midi files by using "midi" as your search word.

2. Find a file that sets the tone you need for your web page.

3. Be sure the file is no greater that 30K and downloads in 30 seconds or less.

4. Save the file to your assets folder on your hard drive or wherever appropriate.

Let DreamWeaver Help You With Your Code For the First Time:

1. Open your page in DreamWeaver, place your pointer in the appropriate location and click (below your text is good). Now click on Insert >Media>Plug_in

2. When the window opens, direct DreamWeaver to the appropriate file. If you need to save the page to correctly code the insert, then DreamWeaver will tell you so.

3. Here is what the code behind the scenes will look like:

<p align="center<embed src="../assets/sting_fieldsofgold%5B1%5D.mid" width="32" height="32"></embed></p>

4. An icon will appear on the page indicating that the file has been embedded.

5. Next hit the F12 key to test the page.

6. Finally FTP the page and the midi file to the server, and test again. If the sound is not working, you may need to tweak the code inside the embed tag to reflect how you filed the page and the midi file.

QUICK JUMP

Last updated 7/23/01 by Cathy Buckingham