-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Internal PDF Viewer Not supported in 43 #1144
Comments
Moving this to the Experimental build of |
Does this mean that the internal PDF viewer will be back in 45? If not, how would I get a PDF to show? |
Yes |
You can use |
Thanks for the help guys, I got it to show for 43 with the NPAPI enabled. I also tried downloading the most current 45, but it crashed when viewing PDF, not sure if it's been fixed in 45 yet. |
The I've tested in |
Tested in 7df00f8#diff-8504643e16a7bcd2d9428f463a767ff9R81 Closing this as the basic issue is resolved. If more specific issues arise then please create a separate issue. |
Couldn't get it working with NPAPI. So I tried with version 41, which works, but where the OnLoaded event ist missing which I need to load my JavaScript files. If there is a workaround for this in version 41, let me know. Then I tried to get current upstream from your branch but couldn't build the project because nuget can't restore the cef.redis versions provided for x64. Would be great to get help either using my JavaScript in verison 41 (must run after dom loading to grab links) or the new pre 45 version from your branch without nuget (as long it's not up on nuget). |
Do you have
https://github.com/cefsharp/CefSharp/blob/cefsharp/41/CefSharp/IWebBrowser.cs#L48
What file does it say exactly is missing?
Latest |
Thanks for the detailed inputs. I'm not saying NPAPI isn't working. I'm sure it does when @irnbw has got it running. For me, I couldn't get it working which might be more of a knowledge issue. Acrobat Reader DC is installed. That's what I get when downloading from the Adobe website.
Thanks for that. Seems like all I need for my project. IMHO quite an important change I would expect as breaking change in the changelog itself without the need to search through commits and diffs.
I remember those errors from other projects and I think I would have to press some button somewhere in VS to fix it. But I can't remember all those things. Didn't work in .Net projects for years and have to fix a small application which depended on the native WebBrowser before I replaced it with CefSharp.
Cool. Thanks. |
Anyone with a
Your local copy of |
Version |
Just a note for anyone interested, with the
2357
branch the internalPDF
viewer no longer works.https://bitbucket.org/chromiumembedded/cef/issues/1565/re-implement-pdf-viewer-using-out-of
You can of course enable
NPAPI
(which is disabled by default these days) and useAdobe Acrobat Reader
Example of how to enable
NPAPI
https://github.com/cefsharp/CefSharp/blob/master/CefSharp.Example/CefExample.cs#L48
This has been fixed in
upstream
and will be resolved in the2454
branch aka45
(which actually removes support forNPAPI
, so it's pretty much required).The text was updated successfully, but these errors were encountered: