dealfonso / pdfjs-viewer

A viewer based on PDFjs, which can be embedded in any web page (not using iframes)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading PDF as URL

oleteacher opened this issue · comments

commented

Nice work!

I am wondering if it is possible to open PDF's using the name in a URL. For example:

example.com/pdfjs-viewer/index.php?pdffile=somedoc.pdf

Need something like your pdfjs-viewer to use on school network to open local PDF's and restrict downloading them.

Thanks for sharing.

Hi,

I have updated the example.html example to include this kind of use case :) Please check commit 3a63c1e

commented

Sorry for no reply, life got in the way:)

Thank you much for your work!