Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Internet Explorer / General Topics / June 2007

Tip: Looking for answers? Try searching our database.

scripting of bgsound tag doesn't work on IE7 of Vista

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fw - 19 Jun 2007 22:12 GMT
I use site http://www.thefreedictionary.com frequently. One feature of the
site is being able to pronounce a word implicitly by clicking an icon. No
explict prompt of downloading .wav file and launching a player is needed. The
way the pronounciation is implemented is through javascripting of the bgsound
html element.
This works for all versions of IE (including IE7) but after I installed a
fresh Vista last month it stopped working. But then somehow it worked for a
while and a couple days ago it stop working again. I think there might be
some windows updates tweaked some security settings. But I have no clue.
Does anyone experienc same problem and found the cause?
Rob ^_^ - 19 Jun 2007 22:27 GMT
Hi fw,

Check your security settings for the site and that active scripting has been
enabled and/or that you have enabled ActiveX (there are a number of ways to
launch wav files from a web page)

Another possible cause is that you upgrade has blown away the patch from
microsoft that removes the 'Click to Activate this ActiveX Control' prompt
from web sites.

Also check the Multimedia settings on the Advanced tab of Internet Options
as a new install or upgrade of IE7 will reset the browser settings to the MS
Defaults.

Regards.
>I use site http://www.thefreedictionary.com frequently. One feature of the
> site is being able to pronounce a word implicitly by clicking an icon. No
[quoted text clipped - 9 lines]
> some windows updates tweaked some security settings. But I have no clue.
> Does anyone experienc same problem and found the cause?
fw - 20 Jun 2007 17:22 GMT
Rob,
The feature doesn't use activeX but just in case I have tried permutations
on activeX as well. I also tried, in vain, to add the site to trusted site
and have protected mode off.
I believe the problem is easily duplicated on other Vista PCs.

> Hi fw,
>
[quoted text clipped - 24 lines]
> > some windows updates tweaked some security settings. But I have no clue.
> > Does anyone experienc same problem and found the cause?
Donald Anadell - 20 Jun 2007 22:37 GMT
> Rob,
> The feature doesn't use activeX but just in case I have tried permutations
> on activeX as well.

The sound feature that pronounces the "word of the day" at that site is set
up to work in two different ways.

1.  When you visit the site the javascript "dict2.js" first tries to detect
if you have Adobe Flash installed on your machine.  If you do have Flash
installed(and the Flash Player ActiveX control is enabled in the Browser),
that little speaker icon you see will be a Flash file called "play.swf".
And when you click on that little speaker icon Flash file it calls an .mp3
sound file to be played in the Browser that pronounces the word.  For
instance the the word today is "indefatigable", so it calls the mp3 file
named "10097100.mp3" that pronounces the word "infatigable".

2.  If dict2.js finds that you do not have Adobe Flash installed(or that you
do not have the Flash ActiveX controll enabled in the Browser), the little
speaker icon with be a .gif image file(pron.gif) instead of a Flash
file(play.swf).  And when you click on the little speaker icon it will call
a .wav file to pronounce the word of the day "indefatigable", in this case
the .wav file is called "10097100.wav"

The site works fine here in IE7 on both Windows SP2 and Vista both ways.

So if the little speaker icon is a .gif image when you are visiting the
site-this is easy to tell by simply rightclicking on the speaker icon, if
it's the Flash file "play.swf" you will see information about the Adobe
Flash Player in the rightclick context menu, if it's the .gif image file you
will have the ability to "Save Picture As" when you right click on it-you
would need to make sure you have "Play sounds in webpages" enabled in the
Browser in order to hear the .wav file.

In either case you should be able to hear the sound when visiting the site
using IE7, whether its on Windows XP SP2 or Vista.

If you have the Adobe Flash Player installed and enabled you should get a
.mp3 sound file playing in the Browser.

If you don't have the Adobe Flash Player installed(or you have it disabled)
then you should get a .wav sound file playing in the Browser.

Of course if you have Active Scripting disabled, you won't get a speaker
icon at all, neither the .swf file speaker icon nor the .gif file icon.

Bottom line is that if you have Active Scripting enabled and you have "Play
Sounds in webpages" enabled you should at least hear the .wav file at that
site.  If you have the Flash Player Player installed and enabled in the
Browser, then you won't get a .wav file but rather you will get a .mp3 file
instead.

Good luck,

Donald Anadell

I also tried, in vain, to add the site to trusted site
> and have protected mode off.
> I believe the problem is easily duplicated on other Vista PCs.
[quoted text clipped - 39 lines]
>> > clue.
>> > Does anyone experienc same problem and found the cause?
fw - 20 Jun 2007 23:29 GMT
Thanks Donald for the indepth analysis. I only launched my script debugger
after clicking the pronounce image so I was not aware of dict2.js. I don't
have Adobe Flash Player. I have active scripting and "Play sounds in
webpages" enabled, which are out-of-the-box settings for internet zone. Still
it doesn't work.
I noticed Vista sound mixer doesn't include IE. But if I open other web
sites with sound upon load, I can hear sound and IE is in the mixer. Of
course, other apps such as WMP and RealPlayer also play sounds OK.
Thanks

> > Rob,
> > The feature doesn't use activeX but just in case I have tried permutations
[quoted text clipped - 95 lines]
> >> > clue.
> >> > Does anyone experienc same problem and found the cause?
fw - 20 Jun 2007 23:29 GMT
One more important update:
If I open the root site http://www.thefreedictionary.com and click the
pronounce icon of "word of the day", it works. But if I type indefatigable in
search box and in the search result page
http://www.thefreedictionary.com/indefatigable, the pronounce icon doesn't
work.

> > Rob,
> > The feature doesn't use activeX but just in case I have tried permutations
[quoted text clipped - 95 lines]
> >> > clue.
> >> > Does anyone experienc same problem and found the cause?
fw - 21 Jun 2007 01:17 GMT
OK. I get everything sorted out.

The root cause are two problems lie in the site rather than IE/Vista. My
earlier Windows have Adobe Flash8d.ocx installed, but Vista doesn't. Without
Flash player, page such as http://www.thefreedictionary.com/indefatigable 
scripted document.all.bgsound incorrectly because this element is a
collection rather than single element, whereas in root site
http://www.thefreedictionary.com it is a single element.

After I installed latest version of Flash player Flash9.ocx in Vista, it
still doesn't work. Maybe dict2.js demands earlier version. I don't bother to
know. I just uninstalled v9 and installed archived version Flash8d.ocx and it
finally worked in Vista!
Thanks everyone.

> > Rob,
> > The feature doesn't use activeX but just in case I have tried permutations
[quoted text clipped - 95 lines]
> >> > clue.
> >> > Does anyone experienc same problem and found the cause?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.