-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF Viewer plugin is not loaded in object or embed tag #11065
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
Hop, done @ahmedmohamedali |
Any update on this issue...I'm facing the same issue on electron version 1.8.2 |
Seeing the same on electron v 2.0.2; Windows 10: This is a library-breaking issue for us; need embed support to wrap [legacy] webapp in electron. Any insight @ahmedmohamedali ? Even a direction to explore might lead us to a potential workaround. Thank you! |
There is an issue in electron/chromium with embed/object tag when the type is "application/pdf". |
@ahmedmohamedali excellent, thank you for the information. To clarify: we're waiting on the chromium project to fix the issue [before it can be propagated to electron]? |
This now works, as we ship chromium's PDF viewer natively once more. |
Hello team and users :)
I've got an issue when viewing a pdf. Seems the plugin is not working.
Here are some information :
Expected behavior
I can view a pdf
Actual behavior
I get an error "can not load the plugin"
How to reproduce
I made a simple repo based on the electron-quick-start : https://github.com/csaunier/electron-quick-start
I only add
webPreferences: { plugins: true }
into the config of theBrowserWindow
, and a pdf into anobject
tagI'm pretty sur i've seen it working in another real project i'm working on, but obviously, not anymore :)
I've seen some discussion about pdf, like this one #10793, but not sur if linked or not.
The text was updated successfully, but these errors were encountered: