hiimnalaa / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Flash Player Disable Detection Issue With Internet Explorer #590

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load swfobject.js file into JSP. 

2. Use swfobject.hasFlashPlayerVersion(...) to detect required flash player 
version on client side. If required flash player is on client system then load 
swf file otherwise load alternative content. 

OR 

2. Use swfobject.embedSWF(......) function to embed .swf file with required 
flash player version and with other required parameters. 
e.g. swfobject.embedSWF(swfUrl, id, width, height, version, 
expressInstallSwfurl, flashvars, params, attributes, callbackFn) 

3. Go to Internet Explorer -->Tools-->Manage Add-ons disable Shockwave Flash 
Object. 

4. Now run your JSP in IE. 

What is the expected output? What do you see instead?
It should show alternative content in place of .swf file because your flash 
player is disable. It showing X-mark in place of .swf file because your flash 
player is disable. 

What version of the product are you using? On what operating system?
we are using swfobject 2.0 and JSP 2.1. in Window OS in Internet Explorer 
browser.

Please provide any additional information below.
Use swfobject functions in JSP's <f:view> tag. Don't use in HTML's body or head 
tag.

Original issue reported on code.google.com by rashmin....@gmail.com on 23 Aug 2011 at 7:47

Attachments:

GoogleCodeExporter commented 9 years ago
I am marking this as invalid as it is not a proper use case for testing 
browsers without a Flash player. Disabling a plugin within IE does not stop it 
from being detected. It just stops it from running.

If you want to check the various use cases, then you can use something like 
http://www.pluginswitcher.de/ for testing various plugins or FlashSwitcher for 
Firefox or use a virtual machine.

Original comment by aran.rhee@gmail.com on 23 Aug 2011 at 10:13

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for reply and review. But my problem is not to stop it from being 
detected but it should detect and show alternative content. if you can see my 
attached document then you can see it not only problem for my project but even 
in some Adobe URL also you can see problem. 

In swfobject.embedSWF(......) function, it test for required version or flash 
player plugin, if it is not there then it should load alternative content and 
if it is there it should load SWF file. I think you know about way it should 
work. but in this scenario it is not working for IE.Because this 
swfobject.embedSWF(......) function working fine in Mozilla Firefox (means if 
you disable flash player then it is loading alternative content).

You can see attached document with screen shot. 

Original comment by rashmin....@gmail.com on 23 Aug 2011 at 10:41

GoogleCodeExporter commented 9 years ago
Have a read of what I said again, as it still stands. Disabling the activeX 
plugin in IE is not a valid way of testing the use case for when user does not 
have Flash installed. 

I outlined 2 ways you could test in IE specifically using plugin switcher or a 
VM. You can also use the Adobe Flash player uninstaller to ensure your users 
are seeing the alt content, and then reinstall. 

In addition, you can also test your alt content by setting a very high version 
number on the required [player version (keeping in mind this will lead to you 
seeing an express install dialog etc if you have chosen that option)

SWFObject is used by many, many sites and I can confidently say that if your 
visitor does not have Flash installed, that the alt content will be shown if 
you use the SWFObject library methods correctly.

Based on what you are saying, I keeping this as invalid.

Original comment by aran.rhee@gmail.com on 24 Aug 2011 at 5:36