-
Notifications
You must be signed in to change notification settings - Fork 869
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
Can't preview PDFs #785
Comments
We probably should avoid running plugins for security reasons. |
@lidel do you think this should go into Web UI or just IPFS Desktop? |
I believe preview logic should stay in Web UI. @olizilla do you feel the same? |
I agree with you! Let's wait for Oli's word. |
Ping @olizilla |
@hacdias can we just use an iframe for pdf previews? |
@olizilla yes, but that would need us to rely on Electron's PDF viewer through plugins. It doesn't work though. It's an issue since 3.0.0 that hasn't been fixed yet: electron/electron#12337 😞 |
This got fixed in v0.13.x where we switched to Electron 9.x which has a backported fix for electron/electron#12337 |
It seems that we can't preview PDFs inside Web UI on IPFS Desktop.
object
toembed
on the PDF. I changed toembed
and all I got was 'Couldn't load the plugin'.https://github.com/gerhardberger/electron-pdf-window
but it seems that it is used so a Window can load a PDF URL and not to embed PDFs.Needs more research.
The text was updated successfully, but these errors were encountered: