# Embed PDF Viewer Contributors: afragen Tags: pdf, embed, oembed, viewer Requires at least: 4.0 Tested up to: 4.7 Stable tag: 1.3.0 License: GPL v2+ License URI: http://www.gnu.org/licenses/gpl-2.0.html Embed a PDF from the Media Library or elsewhere via oEmbed into a Google Doc Viewer. ## Description Embed a PDF from the Media Library or elsewhere via oEmbed into a Google Doc Viewer. The URL only has to be reachable link. Inspired by [Embed PDF](https://wordpress.org/plugins/dirtysuds-embed-pdf/) and [RV Embed PDF](https://wordpress.org/plugins/rv-embed-pdf/). Development on [GitHub](https://github.com/afragen/embed-pdf-viewer). Pull requests are welcome against the `develop` branch. ## Installation 1. Upload the entire `/embed-pdf-viewer/` folder to the `/wp-content/plugins/` directory. 1. Activate the plugin. ## Changelog #### 1.3.0 * inserting anything other than PDF from Media Library now works as expected. #### 1.2.1 * fixed a couple of PHP warnings #### 1.2.0 * inserting a PDF from the Media Library now simply inserts the URL for oEmbed * oEmbed a PDF from any source #### 1.1.2 * simplify `instance()` just a little more #### 1.1.1 * rename instance variable to `$instance` and make private * update DocBlocks * ensure `$atts` is an array #### 1.1 * bugfix for not returning media item when not PDF, Bad Andy :( #### 1.0.1 * add to DocBlocks = 1.0 = * refactor to put embed code in one function * add assets = 0.1 = * initial commit