BenjaminLawson / PDF.js-Viewer-Shortcode

A Wordpress plugin for embedding PDFs using Mozilla's Excellent PDF.js
https://wordpress.org/plugins/pdfjs-viewer-shortcode/
GNU General Public License v3.0
6 stars 8 forks source link
pdf-js wordpress-plugin

=== PDF.js Viewer Shortcode === Contributors: Ben Lawson Tags: pdf, pdf.js, viewer, reader, embed, mozilla, shortcode Requires at least: 3.0.1 Tested up to: 4.5.3 Stable tag: 1.3

Embed a beautiful PDF viewer into pages with a simple shortcode.

== Description ==

Incorporate 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.

Features:

Shortcode Syntax:

[pdfjs-viewer url=http://www.website.com/test.pdf viewer_width=600px viewer_height=700px fullscreen=true download=true print=true]

== Installation ==

<ol style=\"margin: 0px 0px 22px 22px; padding: 0px; color: #444444; font-family: sans-serif; font-size: 13px; line-height: 22px;\"> <li style=\"margin: 0px; padding: 0px;\">Either install directly from your WordPress admin panel, by searching for 'PDF.js Viewer Shortcode', or <li style=\"margin: 0px; padding: 0px;\">Download from the Wordpress Plugin Repository <li style=\"margin: 0px; padding: 0px;\">Upload and expand the archive into your sites wp-content/plugins directory == Screenshots ==

  1. Viewer example with default size.
  2. Location of media button