Skip to content

Releases: zao-web/zao-pdf-viewer

v0.1.3

19 Jun 15:08
Compare
Choose a tag to compare
  • Added zaopdf_should_load_viewer filter to allow overriding if/when the viewer loads.
  • Added zaopdf_viewer_url filter to allow overriding the default viewer URL.

v0.1.2

05 Jun 21:19
Compare
Choose a tag to compare
  • Added zaopdf_file_url filter to allow modifying the PDF file url for the iframe.
  • Call set_url_scheme()on the PDF url after wp_get_attachment_url to compensate for bad wpengine url output buffer filtering.
  • Do not encode URLS entered through shortcode UI (shortcake).

v0.1.1

31 May 16:00
Compare
Choose a tag to compare
  • Added 'zaopdf_allowed_origins' filter - Filters the allowed domain origins for PDF hosts. Default is array( 'null', 'http://mozilla.github.io', 'https://mozilla.github.io', ), but can be filtered to include additional domains which have the proper CORS settings on the server. See the CORS/XHR FAQ entry on the PDF.js wiki for more info.

Initial Release

31 May 16:00
Compare
Choose a tag to compare
v0.1.0

v0.1.0