electron / pdf-viewer

Fork of Chrome pdf extension to work as webui page in Electron
51 stars 23 forks source link

Does this work with blob URLs? #6

Open EricG-Personal opened 6 years ago

EricG-Personal commented 6 years ago

Does the PDF Viewer work with blob URLs or does the PDF have to exist as a real file on disk?

I have a sample app at https://github.com/EricG-Personal/electron_pdfkit_test.git showing an attempt which does not work. It seems to work without any problems if the PDF is a real file on disk.

joshuaballas commented 6 years ago

It does not look like they do. Idk how they passed this up, considering it is one of the most popular ways to display a pdf that is managed from a database or server file system. I have an Issue posted in the original Electron repo, but seeing that you posted this back in January, I continue to see them taking their good ol' time doing this, if ever.

My company has a finished app waiting to be released into production, but since Electron has yet to implement this, we are completely hosed atm. Here is the Issue that I created: Issue