[Webkit-unassigned] [Bug 25332] Bare .swf files loaded via plug-in fail to load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 22 14:08:14 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=25332
------- Comment #1 from simX_other at mac.com 2009-04-22 14:08 PDT -------
Please note, this bug can be tracked on ClickToFlash's bug tracking system
here:
http://rentzsch.lighthouseapp.com/projects/24342/tickets/75-cant-play-local-content
Also, I have tried to programatically construct an enclosure div and even a
separate OBJECT tag to try and load the .swf files after ClickToFlash releases
them, but to no avail. Sample code:
id parent = self.container.parentNode;
[parent removeChild:self.container];
[self.container setAttribute:@"allowscriptaccess" value:@"always"];
DOMElement *newNode = [[self.container ownerDocument] createElement:@"div"];
DOMElement *cloneNode = (DOMElement *)[self.container cloneNode:YES];
DOMElement *objectNode = [[self.container ownerDocument]
createElement:@"object"];
[objectNode setAttribute:@"type" value:@"application/futuresplash"];
[objectNode setAttribute:@"data" value:self.src];
DOMElement *paramNode = [[self.container ownerDocument]
createElement:@"param"];
[paramNode setAttribute:@"name" value:@"movie"];
[paramNode setAttribute:@"value" value:self.src];
[parent appendChild:newNode];
[newNode appendChild:self.container];
[newNode appendChild:cloneNode];
[newNode appendChild:objectNode];
[objectNode appendChild];
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list