2 votes

PDF.js Viewer

This project allows the wonderful PDF.js viewer to be installed on a website (as provided by the people at Mozilla and now included in the latest versions of Firefox).

http://www.link-infotec.co.uk/pdfjs/viewer.html?file=/viewer/pdf1.pdf

To use the viewer simply install the package and then use the /pdfjs/viewer.html?file=[path to file] url to load a pdf file into the viewer.

The viewer allows users to view and browse PDF files without having to have a pdf reader installed.

With this plugin you can also view a pdf document within an iframe on your pages. Simply include the viewer url as the src of an iframe (in a macro for example).

This can also be integrated with Turn.js for a flipbook style presentation as shown here: 

http://www.link-infotec.co.uk/articles/pdfjs-and-turnjs-magazine-viewer/

For more information on PDF.js: https://mozilla.github.io/pdf.js/

For more information on Turn.js: http://www.turnjs.com/

New in Version 1.1

Macro added to allow an iframe to be embedded in a page (best within a responsive grid using grid layout). This will allow presentation of a pdf surrounded by other manageable content. Macro is called "PDF Viewer Frame".

Available parameters are Frame Class, Frame Height, Frame Width, Initial Page, Initial Zoom and PDF File.

Screenshots

Package owner

Neil Marshall

Neil Marshall

Neil has 63 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Neil Marshall
  • Created: 05/01/2016
  • Current version 1.1
  • License MIT
  • Downloads on Our: 3.7K

External resources