View Full Version : is their a way to
bonesten
10-13-2006, 05:16 PM
is their a way to put a mute button on your website so that only the page your currenty on mutes so u can listen to something else if you choose
jscheuer1
10-13-2006, 05:51 PM
Yes but, it depends upon why your page is making noise (something generally to be avoided) to begin with.
bonesten
10-13-2006, 05:58 PM
well its most of them because the music comes with the content i mean its ok but i know it clashes when im tryin to listen to my music so it must for other people and if their is a way just to put a mute button on every page of mine then that would be good
djr33
10-13-2006, 06:01 PM
HOW does it work?
In what way does the sound file play?
Is it in the background? Embedded? Flash? Something else?.......
There is no universal "mute" command... you have to make the button relate to the particular method in which the sound is coded into your page.
bonesten
10-13-2006, 06:08 PM
well its not in the background i think its flash it might be embedded i dont know that is tho
can u just tell me how to do both and ill try and see if they work
djr33
10-13-2006, 06:09 PM
If you can't figure out how it's added to the page, then you likely won't be able to code the mute button.
If you really don't know and can't figure it out, then just link us to your page and we'll take a look.
jscheuer1
10-14-2006, 06:31 AM
Generally it is better to skip the noise on a web page for that (the user may already be happily listening to their own tunes) and other reasons. Noise takes up bandwidth and disk space. On a dial up connection, noise can make it take forever for a page to load. The support for noise in the different browsers varies. Some implementations that work perfectly well on most computers will lock up some people's systems.
Finally, if you really must have noise on your web site - It is better to do it the other way around. Instead of having a 'mute' button, have the page start out silent and have a 'play' button.
BLiZZaRD
10-14-2006, 08:23 AM
I have a site with bgsound src="" tags...
I wanted to do this for years but didn't even think it was possible.
Either be silent to start or be muted after, either would be really nice.
I have mp3s and wavs uploaded to my server and called with the bgsound src tag in the <head>
Is this an option for me?
jscheuer1
10-14-2006, 09:36 AM
Browsers are always changing how they deal with this (that is one of the pitfalls of noise on a page - Oh, and did I mention that many people just find it annoying and will skip your site because of it?) but see:
http://www.dynamicdrive.com/forums/showthread.php?t=6796
and the thread mentioned in that thread.
BLiZZaRD
10-14-2006, 09:44 AM
Okay, thanks. Yes I know about the pitfalls etc, my site is set up for the music though. Although it is not needed it is specific for the riddle site ;)
I know with IE you can hit the esc key and it will stop playing the music, but with FF you have to disable it if you have BGM Conductor installed.
I will have a look see at that link now.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.