currently I'm evaluating CEF3 as possible browser framework for an upcoming dev project.
One of the required features is, that we want to display PDFs embedded within the browser window.
For the evaluation of this task, I've installed Adobe Reader 11.0.0 and I'm using CEFClient as evaluation application (without any modifications on the code or in any configuration).
The "Plugin Info Test" displays, that "Adobe Acrobat NPAPI Plug-in, Version 11.0.0" is loaded but if I try to open a PDF file this fails with a "black page". (Hint: other plugins like Flash are working fine)
The only thing which appears, is a message box with the following content:
Adobe Reader cannot show documents in this browser.
We are sorry, but Adobe Reader is unable to show
documents in this browser configuration.
Please use your browser to download this file and
open it in Adobe Reader or Adobe Acrobat.
To avoid this message in the future, many browsers
provide a way to turn off certain add-ons, and some
are able to show this document natively. Please
contact your browser vendor for more details.
So, before I dive deeper into CEF3, here are my questions to the experts on this board:
- Is it possible to use the Adobe Acrobat PlugIn for displaying PDFs within CEF3 at all?
- If yes, did I missed something to configure / change within the CEFClient Code and if yes, what?
- Do you know any good alternatives to the Adobe PlugIn which just works? (due its license, not the PDFViewer PlugIn bundled into Chrome)
My system setup:
Plattform: Mac OS X 10.7, 64-bit (later it should also work on Windows machines)
CEF 3 Version: binary build 3.1547_1412 (64-bit version)
IDE: XCode 4.6.3
PDF Viewer: Adobe Acrobat NPAPI Plug-in, Version 11.0.0
Thank you in advance for your efforts and kind regards,
doggy0815