deanagit / swfobject

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

IE will not re-load a .swf file #469

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. moving a .swf from one DOM location to another
2. try to re-initialise the movie

What is the expected output? What do you see instead?
I expect (and all other browsers do this properly) to see the browser 
display the Flash doc with a different height and width, in a different 
tag.

What version of the product are you using? On what operating system?
swfobject.js v2.2
IE7/8

Please provide any additional information below.
I tried updating SWFobject.js to the latest avaialable.
I tried creating the 'target' tags to move the object to as the document 
loads.
I've tried parsing a var to the swfobject.embedSWF command to choose where 
to display the content

Original issue reported on code.google.com by atcwe...@gmail.com on 21 May 2010 at 5:03

GoogleCodeExporter commented 9 years ago
swfobject.embedSWF("flex/MovieClipViewer.swf", "myAlternativeContent", "100%", 
"100%", 
"10.0.0", "flex/playerProductInstall.swf", flashvars, params, attributes);

I am simply using a JS elem.appendChild(swfelem) call to move the content.

As stated, FF/Chrome display properly. IE appears to move the content, creates 
a new 
table of the correct size, and embeds an <object> tag with the correct 
attributes, but 
doesn't cause the SWF movie to start.

Original comment by atcwe...@gmail.com on 21 May 2010 at 5:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have problem in IE while using swfobject in thickbox flashvars is not passing 
value its empty value there is solution are its an bug

Original comment by yuganath...@gmail.com on 30 Jul 2010 at 1:47

GoogleCodeExporter commented 9 years ago
This is a browser/DOM issue, not a SWFObject issue. SWFObject merely creates 
the <object> element for you; any DOM modifications post-embed are beyond 
SWFObject's scope.

Suggestion: re-embed your SWF using SWFObject instead of trying to move the 
element using jQuery.

Original comment by platelu...@gmail.com on 7 Nov 2010 at 6:59