We'll create fresh WordPress site with PDF.js Shortcode installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Add Mozilla’s PDF.js viewer into your pages and posts with a simple shortcode. PDF.js is a javascript library for displaying pdf pages within browsers.
Shortcode Syntax:
[pdfjs-shortcode pdf_width=100% pdf_height=500px pdf_download=true pdf_print=true pdf_openfile=false]http://www.domain.com/test.pdf[/pdfjs-shortcode]