Shihyen / swfobject

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

isDomLoaded doesn't work correctly all the time with Safari/Chrome #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SWFObject Version       : Latest and 2.2 alpha8
URLs (if applicable) : test.fusionpeople.com
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 3: SAME
    Firefox 3: OK
         IE 7: OK

What steps will reproduce the problem?
1. Load site
2. Click something to cause a postback (such as tabs for location)

What is the expected result?
SWFObject is run in the postback, and the Flash file gets updated and stays
on the screen.

What happens instead?
the flash file disappears, and won't come back till a full page refresh.

Please provide any additional information below. Attach a screenshot if
possible.
It is running in DotNetNuke with UpdatePanel wrapped around everything
apart from the flash in that module. I have tried recreating it, using just
ASP.net and AJAX, but it seems to work correctly.

It seems to do with isDomLoaded and/or setVisibility, for a workaround I
updated the setVisibilty to always show it.

http://code.google.com/p/chromium/issues/detail?id=5544 Is the chrome bug
report.

I think if I add a timer so the dom is definetly loaded maybe...

Original issue reported on code.google.com by Sar...@gmail.com on 18 Dec 2008 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by bobbyvandersluis on 18 Dec 2008 at 12:04

GoogleCodeExporter commented 9 years ago
With such a complex test case it is hard to see the exact cause for the issue. I
don't know if it is possible, but can you try to put the embedSWF call in the 
head of
your HTML file?

Original comment by bobbyvandersluis on 18 Dec 2008 at 1:34

GoogleCodeExporter commented 9 years ago
This is an authoring issue until proven otherwise (with a simple, stripped down
example that proves that is is a reproduceable bug causes by SWFObject). Please 
use
the discussion group for further discussion.

Original comment by bobbyvandersluis on 19 Dec 2008 at 9:56