Results 1 to 6 of 6

Thread: Suppress Sound in IE when a new Page Loads

  1. #1
    Join Date
    Sep 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Suppress Sound in IE when a new Page Loads

    A sound is played by default when a new page is loaded, by the user clicking on any link or when the page is redirected on its own to a different url. The similar sound is played in windows expolrer too, when a new window is loaded.

    This sound becomes an hurdle when several web pages are made to load in succession by redirecting them from one to another after a fixed duration, while each page is palying a BG Sound. In other words a sound file is split into several parts and each successive part is palyed as BG Sound with relvant content on the respective page to get redirected after the exact duration of the BG sound of that page.

    While the pages smoothly get redirected as if a continous sound file is being played while the content of the page keep changing as the pages get shifted or redirected from one to another.

    But when the page gets redirectd from one to another the default sound of the windows or from the IE (I presume from windows) gets added up in the BG sound intrupting the purpose.

    Now, is there any solution in the form of a script to be added in the html code of the web page to supress this sound.

    Please help.

  2. #2
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Instead of using a BG sound, try embedding it onto the page.
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  3. #3
    Join Date
    Sep 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, tech_support,

    I have tried embedding till now. Will you pl. elaborate your solution.

    King

  4. #4
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    As in an object:

    Code:
    <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1">
    	<param name="URL" value="Your URL here">
    	<param name="rate" value="1">
    	<param name="balance" value="0">
    	<param name="currentPosition" value="0">
    	<param name="defaultFrame" value>
    	<param name="playCount" value="1">
    	<param name="autoStart" value="-1">
    	<param name="currentMarker" value="0">
    	<param name="invokeURLs" value="-1">
    	<param name="baseURL" value>
    	<param name="volume" value="50">
    	<param name="mute" value="0">
    	<param name="uiMode" value="invisible">
    	<param name="stretchToFit" value="0">
    	<param name="windowlessVideo" value="0">
    	<param name="enabled" value="-1">
    	<param name="enableContextMenu" value="-1">
    	<param name="fullScreen" value="0">
    	<param name="SAMIStyle" value>
    	<param name="SAMILang" value>
    	<param name="SAMIFilename" value>
    	<param name="captioningID" value>
    	<param name="enableErrorDialogs" value="0">
    </object>
    Insert this under the <BODY> section of your page
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  5. #5
    Join Date
    Sep 2006
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi, tech_support,

    Thanks for the embedding code.

    Stil there is a solution along with BG Sound and this has been found available by me as kept searching. Pl. visit "www.experts-exchange.com" and under tab Web Dev if one can search for "ie sound" the problem has been addressed and answered under

    Solution Title: Disabling sound effects with IE 5
    Date Asked: 11/26/2000 01:45PM PST
    Date Answered: 06/16/2002 09:20AM PDT.

    Unfortunately I am unable to accesss the solution as I have only 2300 points to my account at Experts-Exchange.

    Shall be grateful if any one can help.

    King

  6. #6
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Yuck. Experts-Exchange. Pay for advice? Why not get it here - for free
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

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
  •