FlashComGuru Home streaming portalInfluxisCDNImediaseeUvault
                                                                                       Forum Index | Active Topics | Register
                                                                                                          List Overview | List Archives
                                                                                                                           About this site | Advertise
 

home

Adobe AIR (10)
Applications (36)
Books & Training (10)
Collaboration (15)
Components (8)
Events (69)
Flash Player (23)
Flex (32)
FMS (100)
General (119)
Hosting (5)
Jobs (14)
Off topic (36)
Press Releases (18)
Site Check (11)
Tools (46)
Videos & Players (67)

Follow me on Twitter

 
I've just made a worrying discovery: it seems that in some instances my preferred method of embedding a SWF file into a web page (I normally use SWFObject) can fail in quite a bad way for some users running IE7 on Windows - that's a lot of potential users that cannot see your SWF content.
I tend to test less and less on IE these days and instead concentrate on Firefox and while that's not such good practice it's usually no problem because of the fact that SWF run consistently across platforms and browsers. However in the last few days I have had several clients email me and reporting that some pages prompt them to upgrade their Flash Player despite them running Player 9 already. Even after installing the latest Player the problem persists. All users were running IE7 on Windows. The problem is described in more detail here.
It affected my machine too and I was unable to even run the SWFObject sample page in IE7 - it worked fine in Firefox. The page would simply display a message stating that I needed to upgrade my Flash Player. This really worried me as I was under the impression that SWFObject was a 100% reliable way to display SWFs, all the way through the Expressinstall process in case users do run an older version of the Player.

The way I managed to fix the issue (I don't know what or how it was caused) was to download this Flash Player installer and run it. After installation, the same page worked fine in IE7... And apparently the 'old' (but EOLAS prone) way of embedding SWFs also works which could mean that SWFObject is in some way less reliable than the old fashioned way of embed.

Of course I cannot ask users to download and run an executable just in case they have this Flash Player problem. I'm stumped now - should I ditch SWFObject? Is there a reliable workaround?

Please could you check this page in IE7 on Windows and report what you see by posting a comment. Thanks.

Comments
[Add Comment]
"You need to upgrade your Flash Player This is replaced by the Flash content. Place your alternate content here and users without the Flash plugin or with Javascript turned off will see this. Content here allows you to leave out noscript tags. Include a link to bypass the detection if you wish. "

IE7 + windows vista
# Posted By Adam | 6/21/07 11:04 AM
exactly... you should not see that. Worrying.
# Posted By Stefan | 6/21/07 11:36 AM
No problems here. IE7 on Vista Ultimate. Flash player 9.0.45
# Posted By PaulB | 6/21/07 12:05 PM
No problems.
IE7 on XP pro + Flash 9.0.45
# Posted By Antoine | 6/21/07 1:13 PM
No problems.

IE7 + Windows XP Pro SP2 + Flash Player 0.0.45
# Posted By edu | 6/21/07 1:58 PM
Not working
"You need to upgrade your Flash Player."

IE7 on XP Pro SP2 + Flash player WIN 9,0,45,0
# Posted By drex | 6/21/07 2:20 PM
IE 7.0.6 running on Vista home premium, FP 9.0.45.0 works okay
# Posted By Jay Charles | 6/21/07 3:51 PM
apeared the alert that i dont have flash player, when I click bypass detection, the flash work fine.

I am having the same problem with a lot of websites, after using the MSI installer of the player testing a new project.

IE7 on XP
# Posted By drakko | 6/21/07 4:39 PM
drakko, you seem to be affected by this problem (as well as many other people). I wonder if running the installer (I posted a link) will fix this for you...
# Posted By Stefan | 6/21/07 7:24 PM
I encountered this problem when I installed the new Flash Player that comes with the Flex 3 beta. On the SWFObject forums, I was told the problem was that I needed to uninstall the current version of Flash Player before installing the new one.
# Posted By Josh | 6/21/07 11:26 PM
i see
"Sorry
There are no blog entries available that match your criteria."
on winxp pro ie7 /FP 9060120
error at bottom of page
line 23
char:2
error'document.getElementbyld(..)'is null or not an object
code:0
URL:www.flashcomguru.com/index...../swfobject.html


i see the flash movie with the sun
swfObject 1.5
winxp home ie7/fp v.90450
no errors at bottom
# Posted By Eric Karz | 6/22/07 3:20 AM
I see
"Sorry
There are no blog entries available that match your criteria."
In both IE and Seamonkey I get the same message. My firefox browser is set to force the update and not to hold cache.
# Posted By Kathy Karz | 6/22/07 3:38 AM
update
as soon as i went in to flash settings
and put a tick in "use software render"
the page displayed correctly
on winxp pro ie7 /FP 9060120
# Posted By Eric Karz | 6/22/07 4:56 AM
sorry Kathy, Eric. I had a broken link, please try again hitting http://www.flashcomguru.com/includes/swfobject1-5/...

thanks
# Posted By Stefan | 6/22/07 8:57 AM
Broken for me too. IE7 with flash 9. Has anyone found a fix?
# Posted By Lora | 6/22/07 2:58 PM
Stefan, I'm using version IE 7.0.6000.16473 on Windows Vista Ultimate and it worked fine. I have had some sites in the past that wouldn't render and would ask me to upgrade my Flash even though I have player 9 installed. Might be an issue with a corrupted plugin or something in IE7.
# Posted By Bill | 6/22/07 5:15 PM
This is what I see with IE7.0.5730.11:

This Flash movie was embedded using the SWFObject embed method by Geoff Stearns.[etc.][etc.]

Isn't that oke?
# Posted By Erick S. | 6/22/07 10:09 PM
You need to upgrade your Flash Player This is replaced by the Flash content. Place your alternate content here and users without the Flash plugin or with Javascript turned off will see this. Content here allows you to leave out noscript tags. Include a link to bypass the detection if you wish.
# Posted By David | 6/23/07 12:49 PM
i tried the link and it still shows up
but here is something interesting
in IE7 use "alt + enter" on the full page example http://www.flashcomguru.com/includes/swfobject1-5/...
"alt + enter" to return
this did not work in the mozilla browser
but very nice for full screen
# Posted By Eric Karz | 6/23/07 7:09 PM
Erick S., it's ok if you also see the SWF playing on the left.
David, you seem to be affected by the problem if you are running the latest Player already
# Posted By Stefan | 6/23/07 8:17 PM
And...Stefan, I forgot to mention the Flash player version...I believe it is: Macromedia Flash Player 8.0 r22
# Posted By Erick S. | 6/24/07 2:12 AM
with IE7.0.5730.11:

I see the movie, but have the "click to activate and use this control" marching ants around it.
# Posted By mike | 6/25/07 4:18 PM
I had this exact problem, just a Stefan described and downloading and installing the alternate active_x installer solved the problem.

I believe has to do with the flash players that accompany the new Adobe products (ie dreamweaver and such) when they are installed. They probably make it difficult to install the new versions of the Flash Ocx. Also, I found it rather difficult to install the active_x control until I had shutdown all possible programmes and restart the machine like twice. This could mean that on downloading the flash player it never really gets installed and the problem would still persist.

And I'm running IE7 on Vista Home Premium

ICE
# Posted By ICE | 7/5/07 4:34 PM
If you can't see it with IE7, I am curious if either of these actions make it appear for you:

Disable the IE7 phishing filter.
or,
refresh the browser.
# Posted By Mike Harris | 7/6/07 4:18 PM
with IE 7.0.6000.16473 on Vista Home Premium on HP m8055i Media Center PC:
You need to upgrade your Flash Player

but works on Firefox 2.0.0.4 and on Opera 9.21 build 8776:
showing yellow sun rotating orange rays, green mountains

view your installed Flash version shows:
You have Flash player 9.0.45 installed.

Note that the IE came bundled from HP,
and I only just started using it a couple of hours ago - so I suspect it's bundled with bloatware - it has had problems from the very start with not all images showing, attempting to connect to runonce.msn.com,

I am trying to diagnose using
iexplore.exe -extoff
from http://enhanceie.com/ie/troubleshoot.asp
--
Robert
# Posted By Robert | 7/9/07 10:23 PM
follow up to my post on http://www.flashcomguru.com/index.cfm/2007/6/21/sw...
- note that firefox would not let me post here so I am using Opera
- also note that my IE7 is showing Italian as the PC was bought in Italy
but Firefox and Opera were downloaded as English versions.

Anyway I now disabled IE anti-phising and retried
http://www.flashcomguru.com/includes/swfobject1-5/...

this time I get (translated from the Italian dialog):
Problem visualizing the page. The page may not display

or function correctly. ... etc

Line: 9
Character: 4978
Error: Library not registered
Code: 0
URL: as above

When I click on view your installed Flash version I get the usual:
You do not have the Flash plugin installed, ... etc


Then I tried the fullpage example:
http://www.flashcomguru.com/includes/swfobject1-5/...
this gave the same error dialog, but this time showed the "You need to.."
in an orange background.

FWIW the same Library not registered dialog pops up on
http://www.adobe.com/products/flashplayer/

Of course I am reluctant to download Flash and install it when it is working fine
on two alternate browsers!
I will now create a System Restore point, reboot and risk it though.
I may be some time...
# Posted By Robert | 7/9/07 10:57 PM
The usability tester at my company just sent me this message about a site I used SWFObject on (every page has it):
When viewing this page in IE, in place of the logo I receive a message of Please upgrade to the latest version of Flash Player. Click here if you already have Flash Player installed. I click Click Here as I have Flash and the logo will show, but the moment I navigate away to another page, the logo area defaults to that message.
# Posted By Marje | 7/17/07 5:39 PM
Hi. Yes there is a problem somewhere in the flash player install process, but it's a very small problem overall.

Usually you can fix your computer by doing an uninstall/reinstall of the player.

It seems like this is a big issue from all the posts here, but in testing on a large website, we found that only 0.04% of people suffer from the problem.

I posted information about how to fix this a while back here:
http://blog.deconcept.com/2006/12/08/corrupt-flash...
# Posted By Geoff | 7/17/07 6:04 PM
I ran into this behavior as well. Because of the nature of this problem I think different problems will create the same result, confusing the cause, but I believe there is a serious bug with IE7 and it's reporting of the plugin as disabled when it is not.

For me it started with a user reporting that though the site worked, they had to click explicitly on the link to pass through the detection script.

The scary thing was how easy it was for me to get my copy of IE7 to replicate the problem. Though it had been working fine and I wasn't smart enough to write down the steps that got me there, I was easily able to get IE7 (windows xp) in a state where the problem would show up.

To anybody who encounters this and is trying to isolate the cause, I'd recommend navigating your test system or having the user navigate to browserhawk's demo page. In my case it showed that IE7 was reporting that the flash plugin was either not installed or disabled, when in fact it was both installed and enabled and could run content just fine.

What makes this an even more serious problem is that in at least my test system's case it wont let me reinstall or upgrade the flash player. It is always difficult to uninstall and reinstall explorer, rounding out the mess. Nor will it let you go back to ie6.

But, to reiterate, I believe that IE is incorrectly reporting the plugin as disabled when it is not. I also believe that it's not a flash only issue and that both java and silverlight can be put in the same problem state.
# Posted By Cortlandt Winters | 7/25/07 5:02 PM
I see the message advising to upgrade my flash player.

I have IE7 and Windows XP SP2.

FYI - I ran into this problem while making some video clips using Camtasia Studio 4.0.
# Posted By Wayne Rounsavell | 8/1/07 6:39 PM
I have a hard time believing this issue only affets .04%. Either the testing was done before IE7 was pushed through Windows update or the site in question had a skewed demographic. My wife has a low traffic site (<1k hits/month) were she posts schedules for her studio. At .04% only 4 in 10k users would see the problem. My wife gets multiple emails in a week from users who are having trouble with the schedule. In my experience, the problem is as widespread as these comments would suggest.
# Posted By George | 8/22/07 5:15 PM
I have to agree, and I was suprised when the problem affected me personally. It's a mainstream Vista box so there's good chance of other encountering this.
# Posted By Stefan | 8/22/07 5:17 PM
I doubt this issue is only related to corrupt flash player installs.
I'm not using ie7 much but i just realized today that all my pages using swf object methods were not working in ie7 on 3 of my machines, all vistas.
I'm not sure when it started, i'm pretty sure it was working at some point.
# Posted By thibaud | 8/25/07 12:03 PM
I think I'm going to try to edit SWFObject to redirect IE7 users to a page with a flash file embeded without a version check. This can be a tiny Flash 6 file which uses the internal getPlayerVersion which I think will avaoid any of these IE7 detection issues. I'll then use this file as a second detection level.

If they have the right version it could send them back to my main page but let them skip detection.

If they have a lower version player I can do express install.

If they have no player (or less than 6), which I think wont happen too oftenly,they'll get a browser prompt to download the plugin.

If they have js disabled, then they'll stop at the first page and immidiately see alternate content.

My only problem is that I have no idea how to go about setting up SWFObject to redirect only IE7 users and only when their player version cannot be detected.
# Posted By George | 8/25/07 7:11 PM
I had this problem with an ie7 install on my pc and found out that youtube uses SWFobject and has created a workaround for the problem.

They try and run the flash file with SWFobject and if it fails a variable is set to false. If this happens they run SWFobject again with flash detection off (version set to 0) and load a hidden o pixel flash file. If this flash file runs (which it does with the broken ie7 installs because flash detection has been turned off) it calls a javascript function which then runs SWFobject on the original flash file that failed with version set to 0.

FYI: www.netgear.com also uses swfobject and they don't seem to have implemented a fix, so there are some pretty big sites out there who obviously don't regard it as a serious issue.
# Posted By Andrew Speakman | 10/11/07 10:25 AM
that's good to know, thanks for posting it
# Posted By Stefan | 10/11/07 10:30 AM
I forgot to add: the 1 pixel flash file only seems to call the javascript function if it detects flash 9 is installed - this prevents it overriding SWFobjects version detection.
# Posted By Andrew Speakman | 10/11/07 1:03 PM
I am experiencing the same problem, it's a potentially serious issue. I've been using SWFObject for the last 2+ years for every project I've worked on... I cannot see any flash content in any of those projects using IE7 Vista.

I have just added a bug report to the SWFObject 2.0 google code project. The ticket is as follows:

On IE7 Vista 32bit I am seeing alternative content instead of my flash
content. This only happens on IE7 Vista, I have no problems in any other
browser on any other OS, including IE7 on XP. The flash content is
displayed fine with the standard Adobe flash embed scripts and when I
click on "bypass detection", but using SWFObject (1.5 - 2.0 beta6) I see
my alternative content. The Adobe Flash install webpage says I need to
install flash every time I go back to it, no matter how many times I
install, so the install process has been corrupted somewhere along the way
for IE. However, Flash is installed regardless and it is playing flash
content that is embedded using the standard Adobe methods. The problem
here is that most non-developers will think they have flash installed
correctly because most sites that dont use SWFObject will show that flash
is installed fine...

There is a discussion regarding this problem active here:
http://www.flashcomguru.com/index.cfm/2007/6/21/sw...

What steps will reproduce the problem?
1. Unknown, some people have this problems others dont. I'm using a stock
install of Vista Ultimate 32bit. No modifications, all windows updates
applied. Flash was originally installed via the Adobe Flash install web
site and has not been touched.

What is the expected output? What do you see instead?
Expected output is the flash file, I see the alternative content.

What version of the product are you using? On what operating system?
Flash Player 9,0,47,0
SWFObject 1.5 - Beta6 (all versions fail)
IE 7.6000.16546

Please provide any additional information below.
That is all.
# Posted By Nathan | 11/2/07 4:31 PM
Exactly the same problem as Nathan states on 2 seperate machines. One running IE6, the other IE7, On the IE6 machine I got prompted this moring to upgrade my player.

Both machines run Flash Player 9.0.115.0

The problem only occurs on sites in Explorer 6 and 7 running this version of the flash player where I used the SWF object 1.5


In Firefox and in sites where I used the invalid, default Flash HTML output or sites together with the fix_eolas javascript everything still runs fine.

Other known sites (eg. www.2advanced.com which uses the swf object as well) I have the same problem. Only the alternative content is shown (The initial content in the flash wrapper before it gets replaced bij the swf object's script)

My guess there's a problem with swf object script not getting something right with this new flash player.

Maybe needless to mention. All sites worked before upgrading and there were no code changes.

Message @ Andrew Speakman: NetGear also fails. On You tube I didn't see them implementing the swf object. Something they descide on a server and generating alternative HTML output based on that?

http://www.allvision.nl (use the swf object an fails)
http://www.archyves.com/wijngaardshof (uses the eolas fix, together with an IE condition in HTML to get the output valid and works)
# Posted By Yves Horsmans | 12/8/07 10:06 AM
Problem solved.
I guess something went wrong with the express install from the adobe website. An unistall of the flash player and a reinstall did the trick
# Posted By Yves Horsmans | 12/10/07 1:11 PM
Thank You VERY much!!! I had the same problem. Even though I installed Flash Player 9 from Adobe's site. Now solved with the above download.
# Posted By Ian C. Matthew | 1/3/08 9:52 PM
Not working
You need to upgrade your Flash Player

IE 7.05 XP Pro sp2 + flash player 9,0,115,0
# Posted By Yoram | 2/3/08 3:00 PM
I had the a similar issue described in this block (system asked for flash player, although I already had it) when I upgraded to IE 7. I went ahead and uninstalled the flash player and reinstalled it again. I could see the animation after the reinstallation of the flash player.

It occured the same way w/ my coworker when she upgraded to IE 7 and she already had flash player in her sytem, yet she could not see a .swf file displaying on her IE 7. I told her to do the same. It worked right away. So, just uninstall the flash player and installed it again. Don't install on top of what you already had because it won't work.
# Posted By Nitaya | 2/7/08 2:45 AM
I uninstalled and reinstalled the flash plug-in. Everything works fine now.

Thanks for everyone's help.

_michael
# Posted By Michael Wilson | 2/12/08 9:59 PM
Is it okay to just set the player detection to "0" and leave it like that? Pretty much like this:

var so = new SWFObject("movie.swf", "video", "325", "230", "0", "#FFFFFF");

Seems to be what youtube does and it does work. Are there any disadvantages to setting it to "0"?
# Posted By Sean | 2/18/08 10:56 PM
Same issue here, IE7 + Flash Player 9
Asks me to reinstall. I have been using SWFObject (I use the famous FLV player by Jeroen Wi jering)
and it has the SWF Object. I am not going to install the Flash player fix you mentioned, I am also upset since many will not be able to see the videos I posted as well, fixing it for myself or asking other users to do so, will not solve the problem to the mass.

Any Solution yet?
# Posted By Mike | 3/3/08 11:24 PM
I strongly agree with Sean's suggestion, that's what I've figured to do on my pages as well.

You may not want to go ahead and tell your users what to do with their flash players. :-)
# Posted By MBJr | 3/9/08 10:32 PM
it is working
# Posted By Magdy | 3/11/08 3:20 PM
Im running IE 7.0.5730.13 and was recently promoted to update my flash player when i booted windows up. the installation went fine however i started suffering the exactly the same problems as mentioned above.

Re-installing from the web did not solve the problem but downloading the stand-alone install did (as suggested).

However i am equally concerned by the impact of this and would like to know if there is an update to SWFObject / Flash which will solve this.

Thanks
# Posted By toby mills | 3/18/08 12:08 PM
Im running IE 7.0.5730.13 and was recently promoted to update my flash player when i booted windows up. the installation went fine however i started suffering the exactly the same problems as mentioned above.

Re-installing from the web did not solve the problem but downloading the stand-alone install did (as suggested).

However i am equally concerned by the impact of this and would like to know if there is an update to SWFObject / Flash which will solve this.

Thanks
# Posted By toby mills | 3/18/08 12:08 PM
Really Nice.
Thanks.
Now Work For me.
And again tahnks
# Posted By satheesh kumar | 3/19/08 3:41 PM
I read through the comments here looking for a fix for SWFObject and IE7 broken installations. The YouTube method looked too complicated. As setting the version detection to zero means no alternative content is displayed if the user doesn't have flash.

Instead, you can add another Flash object created in a 'normal' way as your alternative content. This should also contain alternative content, say an image.

If user doesn't have Flash, they see the image. If they have a broken IE7 installation they see the Flash created by the 'normal' object (with eolas fix). Otherwise, SWFObject does the business.

Here the code that worked for me:
[code]
<!--[if IE]><script type="text/javascript" src="fix_eolas.js" defer="defer"></script><![endif]-->
<div id='flash-home_presentation'>
   <div>
   <!--[if !IE]> -->
   <object id="flash-f1aa9c839f6645eb08330d3cd1458821" data="home_presentation.swf" width="410" height="214">
   <!-- <![endif]-->
   <!--[if IE]>
   <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/...=6,0,0,0" width="410" height="214">
   <param name="movie" value="home_presentation.swf" />                  
   <!-->
   <param name="wmode" value="transparent" />
   <div><img src="" border="0" alt="Image Alternative" /></div>
   </object>
   <!-- <![endif]-->
   </div>
</div>
<script language="javascript" type="text/javascript">
//<![CDATA[
var so = new SWFObject("home_presentation.swf", "flash-home_presentation", "410", "214", "6", "#ffffff");
so.addParam("wmode", "transparent");
so.write("flash-home_presentation")
//]]>
</script>
[/code]
# Posted By Leon, web design barcelona | 3/25/08 2:14 PM
Can anyone let me know the exact steps to resolve this IE7 and flash problems.. Also provide the flash version that will work fine with IE7.
# Posted By Preethi | 3/31/08 10:50 AM
Hi everyone - I am not a computer guru or anything like that but I have something to offer. I have VISTA and IE7. Recently I used a trial FLASH CS3 and when the trial period was up, I couldn't get Flash to work. I have uninstalled and installed Flash and done everything Adobe said to try and fix the problem. I gave myself Administrative rights to everything on my computer and still it didn't work. Guess what - I finally fixed it by giving myself Administrative rights to IE7 and then turning back on my USER Account Control. Now FLASH works perfect! But as soon as I turn off the UAC no more FLASH. Something to try...
# Posted By Jam | 4/2/08 1:44 AM
I'm getting the blasted message that I need to upgrade Flash. Running Vista IE v 7.0.6001.18000 .
No problem in XP IE7 (whichis an older version), or FF or anything else.
This has just started to happen in the last few days, so it has to be some silly update of IE7 pushed lately for Vista.

Not happy at all.
# Posted By webado | 11/21/08 6:19 AM
So I did the Flash upgrade and now it all works.

How utterly silly!

But I am thankful that I ran into yoru site and found out what's needed at least.
# Posted By webado | 11/21/08 6:21 AM
no problems.
XP, Flash 10.0.12.

but yeah, i understand what u mean cos my webpage has 'errors on page' when i had the Flash running. No errors when the flash object was disabled.

www.whatididonthisday.com
# Posted By tehnz | 12/9/08 3:49 AM
Thanks for you link to the "this Flash Player installer". It fixed my problem "object not registrated swfobject.js" with flash 10.0.22.87 in IE8 on XP!

I have been looking for a solution for 2 weeks! The problems started after a auto-update from adobe. FF worked fine, IE8 was having this isuue.

Now it's fixed and I'm happy :-)
# Posted By JW | 6/4/09 9:42 AM