marconiduarte / swfobject

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

J.parentnode error in IE #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load this page in IE7: http://tarawhitney.com/justbeblogged/
2. SWF sometimes loads, sometimes does not.
3. Error reads J.parennode is null or not an object

What is the expected output? What do you see instead?
Other browsers detect and display the SWF fine.  IE sometimes displays 
nothing, even checking the source code reveals no traces of it at all.  
This is part of a Wordpress theme that was purchased, and the developer 
has no idea what is happening.

What version of the product are you using? On what operating system?
Unfortunately I am unsure of what version I am using, however if you need 
me to try the latest version that's not a problem.

Please provide any additional information below.

Original issue reported on code.google.com by drain...@gmail.com on 23 Feb 2009 at 2:56

GoogleCodeExporter commented 9 years ago
This is likely caused by another JS library within the page aggressively 
removing
elements that are created and managed by SWFObject. SWFObject 2.2 (still in 
early
alpha) will offer a solution for this, for now the easiest solution for your 
web page
will be to add a test inside swfobject.js just before the J.parentNode call to 
see if
it exists (if (J.parentNode){...}), or ensure that the external library does not
remove elements generated by SWFObject.

Original comment by bobbyvandersluis on 23 Feb 2009 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by bobbyvandersluis on 23 Feb 2009 at 9:44