-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
PDFs from Remote Server #842
Comments
Due to Cross domain request limitations this is not possible for JavaScript in most cases. However, you can easily make a "proxy" script running on your own server, so that your javascript can access the file through this proxy, given an URL. Not a PDF.js bug. |
It's also possible via CORS http://enable-cors.org/ . |
duplicate of #522 |
The following way worked for me
so, use 'finalDocUrl' to get document via pdfjs |
Hey Folks!
I think this project is great...we are looking for a free html5 viewer for our project, but we really need to access PDFs from probably any html server. Because we want to present PDFs from URLs that are set by our users. Unfortunately that doesn't work with pdf.js yet, right? I really wonder what the problem is? Is this a java script issue or is it generally feasible to support that. It just would be great if it would work...if its not possible, do you guys have any idea how to work around this?
Thank you so much and keep up the good work!
Christoph
The text was updated successfully, but these errors were encountered: