Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Re: Plugin installation with XULRunner 24
Re: Plugin installation with XULRunner 24 [message #1243287] Mon, 10 February 2014 14:45 Go to next message
Grant Gayed is currently offline Grant Gayed
Messages: 2148
Registered: July 2009
Senior Member
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 Go to previous message
Christian Sell is currently offline Christian Sell
Messages: 51
Registered: August 2010
Member
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.
Previous Topic:RCP Web Start stops working with Java 7 update 45
Next Topic:Resize SWT table with editors
Goto Forum:
  


Current Time: Wed Aug 20 22:31:29 EDT 2014

Powered by FUDForum. Page generated in 0.01896 seconds