Closed Thread Icon

Preserved Topic: Sound in htm files (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18555" title="Pages that link to Preserved Topic: Sound in htm files (Page 1 of 1)" rel="nofollow" >Preserved Topic: Sound in htm files <span class="small">(Page 1 of 1)</span>\

 
sketch
Nervous Wreck (II) Inmate

From:
Insane since: Oct 2002

posted posted 01-30-2003 06:46

hi friends,

is there any way we can add sound loop in backgound as the site is running?

i want to have site on CD, it should play sound loop in background.

i used the "EMBED src..." script. it's not working smoothly.

is it possible to play WAV file in bg, as invisible.

i dont want to use flash cause like "Embed src..." script i have to add this in to all htm files.

plz anyone has some suggestions on this..

thanx

regards,
sketch

------------------------------------
It's so simple to be Happy, but so difficult to be simple.

Archonian
Nervous Wreck (II) Inmate

From: Sweden, Malmoe
Insane since: Jan 2003

posted posted 01-30-2003 21:05

<html>
<body>
<bgsound src="filename.wav" loop="infinite">
</body>
</html>

----------------------
loop="infinite" will loop over and over again.
loop="1" will run it one time... and so on.

aah, you didn't wanna add this to every page, huh...
well, my advice would be to create two frames, <frameset rows="1,*" border="0"> and put the bgsound in the one that has a height of 1 points/pixels(dunno which it is).


[This message has been edited by Archonian (edited 01-30-2003).]

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-31-2003 04:18
quote:
is there any way we can add sound loop in backgound as the site is running?



Don't

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 01-31-2003 05:57

What he said.

sketch
Nervous Wreck (II) Inmate

From:
Insane since: Oct 2002

posted posted 01-31-2003 06:06

th@anx Archonian for ur solution.

but still is there anyway we can play sound in bg wihtout using frame? not connected with sit htm file...

anyway th@nx for ur help.

regards
sketch

------------------------------------
It's so simple to be Happy, but so difficult to be simple.

Archonian
Nervous Wreck (II) Inmate

From: Sweden, Malmoe
Insane since: Jan 2003

posted posted 01-31-2003 10:53

Not that I know of, no.
You could open a popup window and run the sound there but that would be unnecessary.

Why don't you wanna use frames?

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-31-2003 12:51

sketch: If you must then use something like Flash and provide a clear way for people to turn it off. Dracusis did something like this for an assignment and j-man has a great series of tutorials on this starting:
www.gurusnetwork.com/tutorials/flash/sound101.html

However, consider that sound on pages:

1. More often than not just not needed.

2. It annoys most of the people who visit your page.

3. It increases the size of the page and so people have to wait longer to see it.

So give this one careful thought.

___________________
Emps

FAQs: Emperor

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

posted posted 01-31-2003 13:23

My advice? Don't just give people the option to turn it off, but give them the option of turning it on in the first place. In other words, leave it off to begin with and allow people to play it if they wish. If they want to hear it, they can play it.

If they don't, they'll only be annoyed ? and if they're like me, extremely so ? if it plays without their requesting it.


« BackwardsOnwards »

Show Forum Drop Down Menu