Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adobe Acrobat plugin in own xulrunner application

378 views
Skip to first unread message

Paul Miller

unread,
Apr 15, 2010, 4:26:35 AM4/15/10
to
Hi Folks,

I'm trying to get the Adobe Acrobat plugin working again (it worked
with previous versions of xulrunner) with xulrunner 1.9.2 on Windows.

I have copied the plugin over from my local firefox installation, but
embedding a PDF failes, there is no acrobat reader being displayed.

XUL code:
<html xmlns = "http://www.w3.org/1999/xhtml" >
<div id="htmlDiv">
<embed
id = "pdfObject"
type = "application/pdf"
src = "chrome://mypath/doc.pdf"
width = "420px"
height = "594px"
/>
</div>
</html>

Plugins directory within my xulrunner bin: nppdf32.dll

What really doesn't make sense at all, is that when I display an
iframe within my xul application to show about:plugins, I see all
plugins installed in my local firefox installation - such as Java,
Flash and Acrobat. How is that possible?

Any pointers on how to debug what's going wrong are appreciated.
Thanks!

P. Miller

Paul Miller

unread,
Apr 15, 2010, 4:55:38 AM4/15/10
to
Additionally, once I try to check if the PDF plugin is available via
[1], xulrunner generates the file pluginreg.dat in the profile of my
application, containing almost the same lines as the one from my
firefox profile, altough I only feature the nppdf32.dll within the
applications plugin folder...

[1] https://developer.mozilla.org/en/Gecko_Plugin_API_Reference/Plug-in_Basics#Checking_Plug-ins_by_MIME_Type

Paul Miller

unread,
Apr 15, 2010, 5:27:31 AM4/15/10
to
Update: It workes with xulrunner 1.9.1.3 and my current setup. Are
there any changes regarding the plugin setup I missed between those
versions?

Paul Miller

unread,
Apr 15, 2010, 7:29:14 AM4/15/10
to
Update 2: It works until xulrunner 1.9.1.7: if I remove all plugins
from myApplication/plugins and from xulrunner/plugins it works too. In
myApplication/Profile - the pluginreg.dat file is generated, having
the same plugins within Firefox. For me it is not transparent, how
pluginreg.dat is compiled from xulrunner - and why it fails miserably
with 1.9.2.

0 new messages