Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How do I add sound to my site?

Posted on 1999-07-02
Medium Priority
Last Modified: 2013-12-25
I'm pretty satisfied with the visuals at my web site, and I would now like to add sound, but I don't know how.  Are there utilities out there (preferably free) that would let me add sound files to my web site.

Relatedly, could somebody explain to me what "streaming" sound is, and how it contrasts with "non-streaming" sound?

Question by:skylar1
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
LVL 18

Accepted Solution

mgfranz earned 150 total points
ID: 1863714
To play .wav files you do this;

<EMBED SRC="./music.wav"  AUTOSTART="true" HIDDEN="true" LOOP="true" >

LVL 18

Expert Comment

ID: 1863715
Oh yeah, streaming audio is the process of playing audio or video over a network in real time, a fast network and a dedicated server are a benefit... When network traffic or bandwidth is slow, streaming becomes a tremendous challenge.

Check out to get more info on streaming.

Author Comment

ID: 1863716
Well, I added this line to my web page:
<P><EMBED SRC="Sound.wav" WIDTH="1" HEIGHT="1" ALIGN="BOTTOM" AUTOSTART="true" HIDDEN="true" loop="true"></P>

(The width, height and align variables are apparently mandatory in my software).

Nothing happens when I open the web page, though.  The graphics are fine, but there's no sound.  Any advice?
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

LVL 18

Expert Comment

ID: 1863717
Try this:
<EMBED SRC="Sound.wav" WIDTH="1" HEIGHT="1" ALIGN="BOTTOM"      AUTOSTART="true" HIDDEN="true" loop="true">
<bgsound src="Sound.wav">

And make sure the sound.wav is in the right path...  Actually, you might want to create a directory called sound, and then the path can be /sound/sound.wav.  So the tag would read;

<EMBED SRC="../sound/Sound.wav" WIDTH="1" HEIGHT="1" ALIGN="BOTTOM"   AUTOSTART="true" HIDDEN="true" loop="true">
<bgsound src="Sound.wav">

Author Comment

ID: 1863718
I the sound.wav is in the same directory as all other web page files, then I don't need to include any path information, right?  I can just say, ="Sound.wav", since the Sound.wav is in the same directory as the htm page source.  Is this correct?

Author Comment

ID: 1863719
I tried what you said.  I created a "Sounds" directory and put the Sound.wav file in it.  Still no sound.  Any further advice?
The source code for the page now looks like this:


<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<META NAME="GENERATOR" Content="Visual Page 1.1a for Windows">


<P><EMBED SRC="../Sounds/Sound.wav" WIDTH="1" HEIGHT="1" ALIGN="BOTTOM" AUTOSTART="true" HIDDEN="true" loop="true">
<bgsound src="Sound.wav"></P>
<P><IMG SRC="QuestBanner.gif" WIDTH="482" HEIGHT="58" ALIGN="BOTTOM" BORDER="0"></P>
<P><IMG SRC="bar013.gif" WIDTH="482" HEIGHT="10" ALIGN="BOTTOM" BORDER="0"></P>

<P><FONT SIZE="4"><I><B>The Gathering</B></I></FONT><B>, the first volume of the </B><FONT SIZE="4"><I><B>Questfor Creation</B></I></FONT><B> trilogy,<BR>follows Shalya, the premier sorceress of the multiverse...</B>


LVL 18

Expert Comment

ID: 1863720
Hmm... what version browser are you using?  I have used the following in my NS and IE browsers, >4.0 without a problem.

<EMBED SRC="Sound.wav" WIDTH="1" HEIGHT="1" HIDDEN="true">
 <!--The following is a non-standard Microsoft tag-->
<bgsound src="Sound.wav">

What happens if you open the sound.wav file from your browser window?  Does it play?

My email is if you have other questions.
LVL 18

Expert Comment

ID: 1863721
Your source file runs fine on my server and PC.  With a different .wav file of course...

Featured Post

What is a Denial of Service (DoS)?

A DoS is a malicious attempt to prevent the normal operation of a computer system. You may frequently see the terms 'DDoS' (Distributed Denial of Service) and 'DoS' used interchangeably, but there are some subtle differences.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question