kunalpict / swfobject

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

SwfObject 2.2 hangs Chrome #603

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- What steps will reproduce the problem?
1. download the current 2.2 version as-is.
2. unzip it and open one of the html files in Chrome

- What is the expected output? What do you see instead?
Chrome hangs on an infinite spinner and finally announces that the tab is 
frozen. There is no output.

- What version of the product are you using? On what operating system?
Swfobject 2.2
Chrome 15.0.874.120 m
Windows Vista
Flash player 11.0.1.152

- Please provide any additional information below.
I'm currently using the non-minified source to check out where SWFobject is 
failing. It might still be Chrome's bug.

Flash player version is according to Firefox. Could not find similar 
information within Chrome as it's not my main browser.

Original issue reported on code.google.com by dhro...@gmail.com on 17 Nov 2011 at 2:19

GoogleCodeExporter commented 9 years ago
I've traced it to line #210:

if (typeof t.GetVariable != UNDEF) {

Chrome hangs when trying to access the t object. The code:

"GetVariable" in t

fails in the exact same way.

So it *looks* like a Chrome bug with object elements of type 
"application/x-shockwave-flash", but it might be workaround-able in SWFobject.

Original comment by dhro...@gmail.com on 17 Nov 2011 at 3:18

GoogleCodeExporter commented 9 years ago
I am unable to reproduce this bug using:

Swfobject 2.2
Chrome 15.0.874.121
FP 11.x

with either of the html files supplied in the 2.2 .zip file.

As you are the first person to report this behavior (and the swfobject user 
base is large), I am thinking this is something specific to your system...

Do the regular online swfobject testsuite pages ( 
http://code.google.com/p/swfobject/wiki/test_suite ) work correctly for you?

Note - depending on how you have chrome set up, it uses a separate internally 
managed Flash plugin, so your version info from FF is most likely not correct.

To disable this internal build of Flash:

1. Fire up Chrome and type about:plugins into the address bar; hit enter.
2. Click on Details in the top right of the window to expand the plug-in 
details.
3. Find the Flash plug-in that's listed as being in the Chrome directory and 
hit Disable
(this will then use the standard plug-in which FF uses)

Original comment by aran.rhee@gmail.com on 17 Nov 2011 at 4:43

GoogleCodeExporter commented 9 years ago
Yep, now it works.
I'm going to verify the version numbers of chrome and its flash plugin with 
some of my coworkers and see what fails and what works.

Thanks for the instructions!

Original comment by dhro...@gmail.com on 18 Nov 2011 at 4:40

GoogleCodeExporter commented 9 years ago
Closing issue -- appears to be related to user's machine setup, not a SWFObject 
bug.  Will reopen if a bug is found and can be replicated.

Original comment by platelu...@gmail.com on 6 Jan 2012 at 9:19