I am considering using pdf.js (an open source tool that allows embedding of a pdf in a webpage). There isn’t any documentation on how to use it.
I assume what I do is make an html page with the script referenced in the header, and then in the body, I put some sort of function call with an array of the file name and location. Can anyone help me out here?
Try Google’ing
pdf.js documentationNOTE: the “pdf.js” project mentioned here is https://github.com/Marak/pdf.js, and has been deprecated since this answer was posted. @Treffynnon’s answer is about the still-active Mozilla project (https://github.com/mozilla/pdf.js) that most searchers will be looking for.