Solved

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

Posted on 1998-08-27
7
731 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why a span is lower 2 26
Writing comments on <p></P> or paragraph 2 19
How to check if a session is disconnected in php 9 32
100% tall div not scrollable on iPhone 3 20
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

856 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