Support » Plugin: PDF Viewer » Hidden features revealed / Framework not current

  • A few questions / suggestions:

    (1) This plugin leverages Mozilla PDF.JS framework. As of 2015-NOV, this plugin is significantly behind the present version of that framework. Will there be a forthcoming update?

    Plugin Settings page states:
    PDF.js	Version	Date
    Stable	1.1.1	18 Mar 2015
    Beta	1.1.114	7 May 2015
    PDF.JS page states as of 2015-NOV:
    Stable 1.1.366
    Beta 1.1.469


    (2) The plugin apparently supports additional presentation options from the framework but such are not documented in the plugin literature. Was that intentional?

    For example:

    * page: page number. Example: page=2
    * zoom: zoom level. Example: zoom=200 (accepted formats: [zoom],[left],[top], page-width, page-height, page-fit, auto)
    * nameddest: go to a named destination
    * pagemode: either "thumbs" or "bookmarks". Example: pagemode=thumbs


    In use within WordPress:

    [pdfviewer width="100%" height="600px" beta="false"]http://yourdomain/wp-content/uploads/2015/11/your.pdf#page=1&zoom=auto&pagemode=thumbs[/pdfviewer]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You can replace the plugin’s beta or stable folder with the pre-built versions you linked to. I tried on a website I’m working on and it seems to work correctly, it allows you to use the latest version of PDF.js.

    That’s a hackish solution and I’m not sure it changes anything to this plugin, but I wanted to point it out.



    Thanks. Haven’t tried that, as of yet.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hidden features revealed / Framework not current’ is closed to new replies.