Results 1 to 10 of 10

Thread: is their a way to

  1. #1
    Join Date
    Oct 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default is their a way to

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Yes but, it depends upon why your page is making noise (something generally to be avoided) to begin with.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Oct 2006
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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?
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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/s...ead.php?t=6796

    and the thread mentioned in that thread.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •