ActiveX control for hosting Netscape plugins in IE ================================================== This folder contains an ActiveX control that allows you to host NP API compatible plugins within Internet Explorer. It's pretty simple to use and is a self-contained DLL called pluginhostctrl.dll. It has no runtime or build dependencies on any other part of the Mozilla To build ======== 1. Open pluginhostctrl.dsp 2. Build "Win32 Debug" or another target 3. Open some of the test files in IE to verify it works The control currently reads plugins from your most current Netscape 4.x installation. There is no support for Mozilla or NS 6.x yet. A note to developers: If you intend to modify this control IN ANY WAY then you MUST also change the CLSID. This is necessary to prevent your control from registering itself over this control or vice versa. Use a tool such as guidgen.exe or uuidgen.exe to create a new CLSID. Manual installation =================== Assuming you have the precompiled DLL and wish to install it on a machine, you must register it: regsvr32 pluginhostctrl.dll You must have administrator privileges to install a new control on operating systems such as Windows NT, 2000 & XP. Usage ===== Insert some HTML like this into your content: The CLSID attribute tells IE to create an instance of the plugin hosting control, the width and height specify the dimensions in pixels. The following attributes have tag equivalents: * is equivalent to TYPE Specifies the MIME type of the plugin. The control uses this value to determine which plugin it should create to handle the content. * is equivalent to SRC Specifies an URL for the initial stream of data to feed the plugin. If you havent't specified a "type" PARAM, the control will attempt to use the MIME type of this stream to create the correct plugin. * is equivalent to PLUGINSPAGE Specifies a URL where the plugin may be installed from. The default plugin will redirect you to this page when you do not have the correct plugin installed. You may also supply any custom plugin parameters as additional elements. Still to do =========== * Only hosts windowed plugins. * Doesn't work for the Adobe Acrobat plugin yet. * No progress indication to show when there is network activity * Plugins cannot create writeable streams. * Package pluginhostctrl.dll into a CAB file automatic installation in IE.