WP Manifestindependent plugin directory
manifest / media / tainacan-unsecure-legacy-pdfjs

Tainacan Unsecure Legacy PDFJS

A plugin to integrate a legacy but unsecure version of PDF.js back to Tainacan. Use this at your own risk if you really need PDF file preview in mobile or older browsers.

★ 0stars
26release downloads
v1.0.0latest · 2 years ago

Install

Download tainacan-unsecure-legacy-pdfjs.zip From the v1.0.0 release on GitHub, Oct 14, 2024

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/tainacan/tainacan-unsecure-legacy-pdfjs/releases/download/v1.0.0/tainacan-unsecure-legacy-pdfjs.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WARNING: Use this at your own risk

As explained here, from Tainacan version 0.21.5 on, PDF content is previewed inside Tainacan items using the native Broswer PDF reader.

Previously a version of the famous PDF.js library handled this but it was removed due to security reasons. This does have one side effect because mobile browsers and some legacy browsers do not render PDF natively, offering a download button instead. If you really, REALLY need this feature, you may use this plugin at your own risk.

Usage

Simply install the release .zip via WordPress Admin or move to your /wp-content/plugins folder and extract there. Make sure Tainacan plugin is already installed and activated then install this plugin itself.

Releases

1 release. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.0.0 latest
Oct 14, 2024 2 years ago
tainacan-unsecure-legacy-pdfjs.zip
26