3 ms·
The Firefox PDF viewer (pdf.js) can be used in any browser from any website. https://github.com/mozilla/pdf.js https://github.com/mozilla/pdf.js See a demo: ht
by logn 12y ago
The Firefox PDF viewer (pdf.js) can be used in any browser from any website. https://github.com/mozilla/pdf.js https://github.com/mozilla/pdf.js
See a demo: http://mozilla.github.io/pdf.js/web/viewer.html http://mozilla.github.io/pdf.js/web/viewer.html
- andrea_s 12y agoWouldn't I need a node.js server to run that? It's listed as a prerequisite in the GitHub page...
- logn 12y agoI've not worked with it except as an end user. But my understanding is that you only need node.js if you're trying to test this locally, because browsers treat file:/// URLs differently than http://localhost http://localhost
- andrea_s 12y agoYou are right, actually, as long as it's coming from a webserver (IIS here) I'm able to run the demo. Thanks!