Skip to main content

Bug Tracker

Side navigation

#5264 closed bug (invalid)

Opened September 17, 2009 12:16PM UTC

Closed November 07, 2010 02:15AM UTC

embed tags do not work anymore in IE6 with current nightly build

Reported by: jesse.a Owned by:
Priority: undecided Milestone: 1.4
Component: core Version: 1.3.2
Keywords: embed Cc:
Blocked by: Blocking:
Description

Embed tags, inserted with jQuery methods loose their attributes and are not correctly shown in IE6 environment.

Example (does not work):

$('#id').html('<embed src="http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars="valid_sample_rate=true&external_url=test.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');

Example (works perfectly):

document.getElementById('id').innerHTML = '<embed src="http://www.odeo.com/flash/audio_player_standard_gray.swf" quality="high" width="300" height="52" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars="valid_sample_rate=true&external_url=test.mp3&auto_play=true" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';

maybe this has someting to do with the patch provided for the ActiveX bug in 1.3.2 (http://dev.jquery.com/ticket/4017)

Attachments (1)
Change History (6)

Changed October 14, 2009 04:00PM UTC by gregory80 comment:1

Not currently able to reproduce in IE6 build (6.0.2900.5512) sp3. Would you be able to provide more information about your system or an reliable test case for further study?

Changed December 16, 2009 03:05AM UTC by dmethvin comment:2

Closing until we get a test case; may be the same as #5447.

Changed December 17, 2009 03:52AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

Changed January 20, 2010 03:28PM UTC by mikecapp comment:4

resolution: invalid
status: closedreopened

I'm seeing this with 1.4 release, IE 7.0.5730.11, Win2003 Server; .html() reliably throws on jQuery-created markup containing an <embed> with at least one attribute.

Does not throw if no attributes.

Does not throw with 1.3.2.

There does seem to be an element of randomness to the underlying IE issue, in that some embed markup causes the problem and some doesn't, but behaviour is completely consistent for a given markup string.

Originally started digging because replaceWith() has started failing with <embed> tags.

Mini-demo attached

Changed March 03, 2010 12:31PM UTC by mikecapp comment:5

Appears to have been (accidentally?) fixed - I can't reproduce with 1.4.2, either with the minimal demo I posted or with our real project. I *can* still reproduce with 1.4.

Changed November 07, 2010 02:15AM UTC by snover comment:6

resolution: → invalid
status: reopenedclosed