From the Knowledgebase

PDF Embedder Secure Release Notes

= 5.0.2 =

  • Hotfix: wrong extract folder name fix added

= 5.0.1 =

  • Roll back scripts

= 5.0.0 =

  • Update scripts for new features

= 4.4.5 =

  • Added support for Italian language
  • Added compatibility for WordPress 5.7

= 4.4.4 =

  • Bug fixing for deny direct file access for different apache versions
  • Added compatibility for WordPress 5.5.3

= 4.4.3 =

  • Added compatibility for windows server users
  • Added compatibility for un-minified JS users
  • Fixes added for the cache plugins

= 4.4.2 =

  • Added fixes for deny direct file access for different apache versions
  • Added compatibility for WordPress 5.5.1

= 4.4.1 =

  • Fix language compatibility issue in viewer
  • Fixes JS and CSS files cache issue
  • Added compatibility for WordPress 5.3.2

= 4.4 =

  • Added compatibility for WordPress 5.3
  • Fixes multiple PDF rendering issues in viewer (jumping pages, etc.)

= 4.3.2 =

  • Fixed version update issue

= 4.3.1 =

  • Fixed compatibility with other plugins

= 4.3 =

  • Fixed Scrollbar issues with Firefox and iOS devices. Improved compatibility

= 4.2 =

  • Fixed script problem on some Gutenberg editor installations. Improved compatibility

= 4.1 =

  • Added compatibility for WordPress 5.2.1
    Fixed CSS problems for Mac Devices

= 4.0 =

  • Added compatibility for WordPress 5.0

= 3.2 =

  • Added Gutenberg Compatibility

= 3.1.8 =

  • Updated to use the latest rendering library pdf.js. Fixes some 'strange character' issues amongst other improvements.
  • No longer needs a standalone compatbility.js file so this is not loaded in your site any more.
  • Translation files added for HU locale.

= 3.1.6 =

  • Recalculates fresh viewer size more often in response to resize events. Previous versions attempted to increase performance by only recalculating viewer size when it had changed, but this missed some required resizing after Javascript-based tabs are clicked.

= 3.1.5 =

  • Fixed some issues with zoom appearance.
  • In full screen mode, when continuous page scrolling is off, now jumps to start of page when next/prev is clicked.

= 3.1.4 =

  • Mouse scroll wheel is now more consistent across all browsers (in terms of scroll speed). New mouse wheel fix for Firefox wasn't working with some themes.
  • No longer jumps to start of doc on window resize.
  • View in Full Screen button no longer scrolls underneath the large button.
  • When scrollbars are always visible, no longer cuts off edge of PDF underneath.
  • New shortcode Text to provide a direct link to a secure file download, to be used by PDF Thumbnails 1.4.

= 3.1.1 =

  • Fix for mouse wheel issue on Firefox - window was sometimes scrolling when only the document was supposed to.

= 3.1 =

  • Attachment Pages are no longer generated by default for Secure PDFs. You can enable secure Attachment Pages through a new checkbox setting in the Secure tab of the plugin settings.
  • Updated to latest version of pdf.js, the underlying library which is used to render the PDFs.
  • Allow Secure PDF filenames with double periods in them (..)
  • Minor CSS additions to prevent conflicts with a particular theme.

= 3.0.1 =

  • Fix to tidy up the HTML generated by the plugin which was being removed by the W3 Total Cache plugin leading to functionality being restricted.
  • Scroll by touch or mouse will now defer to the browser when at the very top or bottom of the PDF. This means that when you already scrolled to the very bottom of the PDF, further scrolling will cause the whole web page to scroll down instead of nothing happening. Previously, it was sometimes difficult to navigate to the section of web page below the embedded PDF.

= 3.0 =

  • PLEASE NOTE PAGE TURNERS have been removed from the plugin - the large left/right arrows that can appear at the edge of the PDF on mouse hover. They are considered redundant now continuous page scrolling is available (see below).
  • Continuous page scrolling. Use the mouse or touch to scroll straight onto the next page without having to click next/prev buttons any more.
  • Option to switch off the new 'Continous Page Scrolling' feature so the user has to click next/prev buttons to change pages as in previous versions.
  • Options to add vertical and/or horizontal scrollbars. Shortcode version is scrollbar = 'vertical', 'horizontal', 'both', or 'none'. Default is none.
  • Caches encrypted secure PDFs (including an option to turn this off, either to save disk space on the server, or in case of any problems). This should speed up the time it takes to view secure PDFs (the second time it is viewed onwards).
  • Secure PDFs should no longer display 'Invalid PDF Structure' error message which happened in some server setups previously.
  • Plugin now respects the SCRIPT_DEBUG flag in wp-config.php and displays non-minified versions of the JS files if this is set to true. Helps debugging any issues.
  • New watermark filters: pdfemb_watermark_var_names and pdfemb_watermark_var_values to add your own 'variables' alongside {username}, {email}, etc.
  • No longer displays 'opt-in to beta updates' to new installs.
  • Added NL language.

= 2.9.2 =

  • You can now opt-in to receive early beta releases of the plugin - change this setting in the License tab of the plugin settings.
  • Multisite enhancements - it is now possible to either Network Activate the plugin (recommended) or just allow individual sub-sites to Activate on a per-site basis. This was always possible, but in per-site mode the plugin settings could not be accessed. It may still be necessary to set the license on the Network admin version of the plugin settings, so you would try network activating in order to set the license key only, then revert back to per-site activation if desired.

= 2.8 =

  • 'Page Turner' arrows appear when hovering over left/right edges of the PDF for easier navigation. This can be turned off in settings or by individual shortcode.
  • Toolbar position now has an option 'No Toolbar' to completely remove the toolbar (and presumably rely on the new page turners for page navigation).

= 2.7.7 =

  • Workaround for an obscure configuration on some servers which was resulting in 'Invalid PDF Structure' errors. The 'Unicode BOM' characters were being inserted unexpectedly.

= 2.7.5 =

  • Fixed display (and touch screen zoom) on high resolution screens under certain browsers/devices.
  • Watermarks are now much more consistent across different devices and zoom levels - previously, the location of the watermark could vary relative to the rest of the PDF. You may want to tweak any existing watermark settings to ensure you are still happy with the appearance.
  • Latest ZIP is now available through a link in the License tab, so it can be obtained in cases where the automatic update fails on the Plugins page.

= 2.7.3 =

  • Tested up to WordPress 4.6.
  • Title parameter only inserted into shortcode if needed, to keep things tidy.
  • Fixed conflict with other plugins that output too many warnings - was corrupting some secure downloads in obscure circumstances.
  • Added filter my_pdfemb_override_send_to_editor so you can turn off the shortcode generation.

= 2.7 =

  • Improved support for high resolution displays (retina).
  • Reduced 'flicker' when moving around document on mobiles.

= 2.6.6 =

  • New 'watermark' feature so you can add transparent text (including the logged-in user's name, username or email) on top of secure PDF rendering to discourage sharing of screenshots.
  • Uses latest version of pdf.js library for rendering PDFs.
  • Improvements to help with SEO ranking through embedded PDFs: the PDF embed initially appears as a link to the PDF file, through the link text provided in a new 'title' shortcode parameter (or the base filename if no 'title' is specified). This should be visible to search engine crawler, and also to viewers in the case of Javascript failure or delay.
  • Toolbar buttons have type="button" attribute to avoid conflicts with some other plugins.
  • Spanish translation contributed by Armando Landois.
  • pdfemb_filter_shortcode_attrs filter so developers can change default shortcode parameters through code.

= 2.5.5 =

  • Added keyboard shortcuts in fullscreen mode. Cursor keys to move about the current page, +/- to zoom in/out, Page Up or Page Down to move to next/prev page (Use Fn + Down/Up Arrow on a Mac).
  • New zoom="x" shortcode parameter to start display on a specified zoom percentage.
  • Fix for Right-to-Left languages.

= 2.5.4 =

  • Added French translation.
    Confirmed to work with WP4.5 including resolving a layout conflict with the new Twentysixteen theme.

= 2.5.3 =

  • New shortcode parameter: pagetextbox="on" to ensure the 'page number' text box is always visible for the user to enter a page number to jump to. If omitted or "off", the user needs to click on the page number display in order for it to change into a text box, as before.
  • Fixed a potential timing problem that could have arisen if the browser chose to optimize script loading.

= 2.5.1 =

  • Displays error message if user attempts to Activate when the free version of the plugin is already Active.

= 2.5 =

  • Uses latest version of underlying pdf.js technology to render PDFs.
  • New option 'Scroll to top of page when user clicks next/prev'.
  • 'Attachment Pages' for PDFs now use the PDF Embedder viewer to display them - WordPress default is just a link to the PDF file.

= 2.4.7 =

  • Some settings were difficult to change under a WordPress multisite install.

= 2.4.6 =

  • Download button now working when in Secure mode and Disable Right Click is enabled. There was a conflict between these two features in the previous version.

= 2.4.5 =

  • New option to disable right-click mouse menu over secure PDF embeds (to obscure 'save image as' functionality in browsers).

= 2.4.4 =

  • Hyperlinks fixed for certain mobile devices.
  • New option to improve mobile zooming on some sites.

= 2.4.3 =

  • Option in Settings to open hyperlinks in new tab/window - can be overridden in shortcode using newwindow="on|off".
  • Now supports internal hyperlinks.

= 2.4.1 =

  • Track number of views and downloads - displays next to the PDF's other info in Media Library.

= 2.4 =

  • Hyperlinks now supported - both internal within PDF and external to other web pages.
  • Jump straight to page number by clicking on Page and typing the number.
  • New shortcode parameter page="x" opens up document on specified page number.
  • Translation-ready! Please contribute your translations.
  • Compatibility with WordPress 4.4.

= 2.2.5 =

  • Option to toggle 'Secure' uploads on/off within Settings page.
  • Download button can now work with Secure PDFs.
  • Forced white background by default - some Theme's CSS would override.
  • Better explanation of some error messages (e.g. attempt to access PDF on a different domain).

= 2.2.4 =

  • Option to add 'Download PDF' button to toolbar. This isn't normally suitable for the Secure version, but is provided for compatibility in case you are displaying some PDFs outside the 'securepdfs' folder.

= 2.2.3 =

  • No longer complains of invalid license in some cases where it shouldn't.

= 2.2.2 =

  • Redesigned toolbar buttons

= 2.2 =

  • New version of PDF.js, fixes some PDF rendering bugs.

= 2.1.7 =

  • Fixed a bug with full screen height calculation which left toolbar invisible in full screen mode.

= 2.1.6 =

  • Height can be specified in global Settings -> PDF Embedder, and pulls through correctly as a default in any shortcode that doesn't already have its own height specified.

= 2.1.5 =

  • Workaround to fix 'Invalid PDF Structure' errors on some sites where WordPress had been corrupted into the wrong Unicode encoding.

= 2.1.4 =

  • Obtains PDF over same transport (https/http) as host page, regardless of that specified in the shortcode url parameter. This avoids conflicts and failure to display PDF if the two don't match.

= 2.1.3 =

  • Fixes to workaround iPhone Safari bugs.

= 2.1.1 =

  • ESC to exit full screen mode. Automatic plugin updates. Site-wide settings for appearance (width/toolbar) can now be set - and overridden by shortcodes if desired.