# Background
Inserting an ActiveX control (i.e. flash movie, quicktime movie) with an external javascript (i.e. jQuery) should avoid the ugly grey box and having to click to activate. See: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/overview/activating_activex.asp # Bug ActiveX controls inserted using the **packed version of jQuery** have the grey box and must be activated. See: jQuery/Packer/ActiveX Bug for more info. See: http://www.nabble.com/Packer-and-ActiveX-...-tf2649396.html http://jquery.com/dev/bugs/bug/930/ http://jquery.lukelutman.com/plugins/flash/activex/ # Fix (Klaus Hartl suggested this fix: http://jquery.com/discuss/2006-August/009778/, but that doesn't work for me using the packed version of jQuery.) I've narrowed the problem down to the jQuery.clean method, which uses a temporary div's innerHTML to convert html strings into DOM elements. Doing the conversion from unpacked code fixes the problem, so I'd like to suggest adding a convert hook inside jQuery.clean (see http://jquery.com/dev/bugs/bug/930/ for patch). Without the hook, the entire jQuery.clean method has to be overwritten. With the hook, the bug could be fixed by overwriting jQuery.clean.convert from outside of the packed code (i.e. via a plugin, or by copying and pasting jQuery.clean.convert = function(html) {...} at the bottom of jquery-latest.packed.js). Luke _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/