Click to See Complete Forum and Search --> : how to put sound on a web page
ShawnD1
03-04-2003, 06:01 PM
i tried to put sound into a link in which the sound would automatically load and loop around forever.
<embed src="funk1.wav" autostart="true" hidden="true" loop="true">
here are the results:
Opera: plays the sound file but does not loop
Internet Explorer: does nothing
Mozilla: prompts me what to do (download the file or play it) and if i say play it, it opens it in Winamp (default application for .wav files) so of course it will not loop around.
what am i doing wrong?
Dark_Raver
03-04-2003, 07:18 PM
the problem is you are trying to play a looping sound in a web page...
JK
just to let you know nothing annoys ppl more than that exact thing.
but if you really want to, than this link might help you out.
http://www.webreference.com/js/column20/embed.html
i would read it but youll know why i didn't as soon as you go there.
DR
ShawnD1
03-04-2003, 08:01 PM
that page you listed is just like the page i have - it plays in Opera but only once and doesn't play at all in IE.
that didn't help at all lol
Zurke
03-08-2003, 12:10 PM
ShawnD1, since the LOOP command does not work remove the Quotes from around TRUE.
AUTOSTART also needs no Quotes around TRUE.
Hope it helps. GL
DocEvi1
03-08-2003, 02:56 PM
Sound kills websites. You really should consider you audience - whenever I surf I have music playing (MP3) and it is often mixed with crappy midi songs - I don't appreciate it and it slows my net connection down. I usually leave the sites.
stefan
G-man632
03-08-2003, 10:45 PM
<bgsound="funk1.wav" loop="-1">
there itll loop forever and play in the background
Jay7779
03-08-2003, 10:53 PM
I agree with DocEvi1, dont do it. Period. And if you do, dont do it with just BGsound, at least you can stop it with the "Embed" tag.
Spardan
03-09-2003, 01:00 PM
Sound kills websites. You really should consider you audience - whenever I surf I have music playing (MP3) and it is often mixed with crappy midi songs - I don't appreciate it and it slows my net connection down. I usually leave the sites.
I also agree... go ahead if you must but a better site would at least give the user the option to turn off the music...
Really it should be the end-user's choice whether they want to hear music or not without having to resort to turning off all sound output fro their box...
plus, there's the factor of attracting people back to your site, the novelty of a continuous loop will wear off pretty quickly, especially if it's a page someone's gonna spend a lot of time on...
;)
SysOpt.com
Copyright Internet.com Inc. All Rights Reserved.