Putting ViewerJS on your website is pretty easy, and shouldn’t take more than five minutes. Running ViewerJS is as simple as making a link. The next thing what is pdf js viewer need to do is tell the browser the location of the actual file we want to show. In principle you don’t need to change anything to the ‘host’ page.
Here are the basic steps that are necessary to put ViewerJS on your website. Unpack the file on your computer. Now you are ready to see ViewerJS in action. If that works, you can just copy that URI as well. Note that you need to set the width and the height of the iframe in your page. Andreas Gal and others at Mozilla Labs. Its goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs, and eventually release a PDF reader extension powered by PDF.
It was started by Jos van den Oever at KO and is now developed by a growing team including external collaborators. It uses HTML and CSS to display ODF documents. An advanced paid version is also available. It added OCR support as of version 2. It is free for academic and home use. PDFs from a variety of sources including images, text documents, etc.