Solved

<BGSOUND SRC="snd.wav" loop="-1">

Posted on 1998-08-27
7
713 Views
Last Modified: 2008-03-10
<BGSOUND SRC="snd.wav" loop="-1">
I have a sound file to play in my web page, and
the above how I try to do it. it works if
open it from my disk directly. but when i put it in
my ISP allocated directory, and access it from outside
it doesnot work, no sound at all. I am sure I put the
file (wav file) on the same dir as with all other
pictures etc. all pictures show, but sound does not play.
why ?
0
Comment
Question by:has
7 Comments
 
LVL 2

Expert Comment

by:bernfarr
ID: 1837127
Normally you would set loop=12 to play something 12 times or loop=infinite, I'm not sure what loop="-1" does.
0
 
LVL 10

Expert Comment

by:MasseyM
ID: 1837128
-1 is infinite ...

have you tried to set the path to the src?  SRC="http://www.yoursite.com/snd.wav"

also, has the file finished downloading?  It must first DL before it can play.  

Also, BGSound only works in Internet Explorer... Use <EMBED SRC="snd.wav"></EMBED> for Netscape...

0
 
LVL 8

Expert Comment

by:jbirk
ID: 1837129
Make sure the permissions are set properly for the sound file, and make sure the capitilization is correct.  a file named Snd.wav will work on you hard drive in Win 95 even if you refer to it as snd.wav or SND.wav, but on your isp which, if unix, won't work unless referred to with the exact same capitilization.
-Josh
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 8

Expert Comment

by:jbirk
ID: 1837130
Also, this is how I use a sound on my web page (it only plays once though):
<EMBED SRC="Lion.wav" NAME="ROAR" VOLUME="60" AUTOSTART="true" HIDDEN="true" MASTERSOUND>

This works for me in Netscape 3,4 and IE 4.
-Josh
0
 

Author Comment

by:has
ID: 1837131
in temporary internet files, I see all the pictures, but not the
wav file, that means it didnot take it to temporary place ?????
I will try to load it again today see what happens
0
 

Author Comment

by:has
ID: 1837132
I am sorry but I have to give the credit to jbirk
since he figured that ISP server may be case sensitive.
that was the problem, thanks to both of you. but  if
jbirk replies this back I will give him the points.
0
 
LVL 8

Accepted Solution

by:
jbirk earned 50 total points
ID: 1837133
Happy to have helped!
-Josh
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
input text box not behaving properly when debug points are set 4 55
HTML CSS 7 38
HTML date format to popup calendar as soon as you click 7 41
simplest php form 3 63
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now