PDA

View Full Version : Suppress Sound in IE when a new Page Loads



immortal_king
10-11-2006, 03:59 AM
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.

tech_support
10-11-2006, 04:10 AM
Instead of using a BG sound, try embedding it onto the page.

immortal_king
10-11-2006, 04:59 AM
Hi, tech_support,

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

King

tech_support
10-11-2006, 05:07 AM
As in an object:



<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

immortal_king
10-11-2006, 10:20 AM
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

tech_support
10-11-2006, 10:22 AM
Yuck. Experts-Exchange. Pay for advice? Why not get it here - for free :p