Re: Plugin installation with XULRunner 24 [message #1243287] |
Mon, 10 February 2014 14:45  |
Eclipse User |
|
|
|
This should be what you need:
http://www.eclipse.org/swt/faq.php#mozillaplugins .
Grant
On 2/7/2014 10:18 AM, Christian Sell wrote:
> Hello,
>
> We are using the SWT Browser widget with SWT.MOZILLA style set. We also
> have our own XULRunner instance to which we refer using
>
> System.setProperty("org.eclipse.swt.browser.XULRunnerPath", xulrunnerDir);
>
> We would now like to enable a few common plugins for our embedded
> browser, namely flash, quicktime, some PDF reader, etc. In the version
> of XULRunner we were previously using (10), this could be done by simply
> copying the plugin binaries to the xulrunner/plugins directory. This
> does not seem to work under XULRunner 24. Can somebody help me out here?
>
> thanks,
> Christian Sell
|
|
|
Re: Plugin installation with XULRunner 24 [message #1252779 is a reply to message #1243287] |
Fri, 21 February 2014 10:48  |
Eclipse User |
|
|
|
I dont think that FAQ holds true with XULRunner 24 any longer. As I said, the former default plugin location (xulrunner/plugins) is not searched at all. Rather, globally installed Firefox plugins are automatically enabled even for the embedded XULRunner. My assumption is (at least under Windows) that plugin registration happens through the Windows registry only.
BTW, under XULRunner 24, XPCOM components are also not automatically loaded. We had to add (native) code to access the nsIComponentRegistrar and force it to autoload from the xulrunner/components directory. According to Benjamin Smedberg (and the related webcontent), the whole component registration process has changed alot.
|
|
|
Powered by
FUDForum. Page generated in 0.04157 seconds