Releases: zao-web/zao-pdf-viewer
Releases · zao-web/zao-pdf-viewer
v0.1.3
v0.1.2
- Added
zaopdf_file_url
filter to allow modifying the PDF file url for the iframe. - Call
set_url_scheme()
on the PDF url afterwp_get_attachment_url
to compensate for bad wpengine url output buffer filtering. - Do not encode URLS entered through shortcode UI (shortcake).
v0.1.1
- Added
'zaopdf_allowed_origins'
filter - Filters the allowed domain origins for PDF hosts. Default isarray( '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
v0.1.0 v0.1.0