If I have an embedded object and jQuery 1.3.2 (using jquery update) i get this error in IE:

'parent().html()' is null or not an object
Line: 105
Char: 9
Code: 0
URI: ../sites/all/modules/contributed/swfembed/jquery.swfembed.js

I looked through the code and found some IE work-arounds relying on quirk of jQuery 1.2.x that gave a phantom parent to a jQuery created DOM object.

I've made a quick patch that solves the problem by just generating plain html.

I know its not the most elegant solution, but it does solve the problem.

CommentFileSizeAuthor
#1 swfembed.patch2.15 KBcorey.aufang

Comments

corey.aufang’s picture

StatusFileSize
new2.15 KB

patch file got lost, here it is

tronathan’s picture

Subscribing, I'd like to see this patch rolled into a 6 release.

I've emailed the most recently active maintainer to request comaintainership.

gersh’s picture

Status: Active » Fixed

The patch is in the new development release.

gersh’s picture

Status: Fixed » Closed (fixed)
Crell’s picture

Status: Closed (fixed) » Fixed

gersh: You don't need to mark issues closed yourself. Just mark them fixed so people can still see them as fixed if they go to an issue list later. It will automatically be moved from fixed to closed (fixed) by the system after 2 weeks of no activity.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.