[Webkit-unassigned] [Bug 11796] New: Flash plug-in intermittently doesn't load when referenced using DOM functions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Dec 10 10:27:38 PST 2006
http://bugs.webkit.org/show_bug.cgi?id=11796
Summary: Flash plug-in intermittently doesn't load when
referenced using DOM functions
Product: WebKit
Version: 419.x
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: kennethmac18 at yahoo.co.uk
There is an intermittent bug in WebKit 419.3 (on both PPC and Intel) whereby if
Flash content is added to a page using the DOM methods (see example code
below), the Flash plug-in intermittently doesn't load until the user hovers
over an HTML link or otherwise does something to force the page to be
repainted.
This is an intermittent bug and only occurs around 1 time in 20. Sitting
hitting Refresh in Safari is guaranteed not to reproduce the problem, however,
as when the page is 'warm', the problem doesn't seem to occur.
Note as well that, if there are several Flash elements on the page (all added
to the page using the same code), either all load or none do. The problem seems
to affect instantiation of the Flash plug-in in general.
Sample Javascript code:
document.createElement("object");
myFlashObject.setAttribute("width", "100");
myFlashObject.setAttribute("height", "100");
myFlashObject.setAttribute("type", "application/x-shockwave-flash");
myFlashObject.setAttribute("data", "myflash.swf");
var myBGColorParam = document.createElement("param");
myBGColorParam.setAttribute("name", "bgcolor");
myBGColorParam.setAttribute("value", "#CC3333");
myFlashObject.appendChild(myBGColorParam);
var myMenuParam = document.createElement("param");
myMenuParam.setAttribute("name", "menu");
myMenuParam.setAttribute("value", "false");
myFlashObject.appendChild(myMenuParam);
document.getElementById("titleflash").appendChild(myFlashObject);
--
Configure bugmail: http://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