Allow users to specify a custom viewer.html file

Created on 20 August 2019, almost 5 years ago
Updated 9 March 2022, over 2 years ago

I'm in need of a few features that are supported in PDF.js but require custom viewer files to work. This patch adds a config form under "Media" that allows the user to specify a path to a custom viewer.html file. If the setting is empty, the default library viewer is used.

This is really just a first attempt. It probably needs a little more help text and some sort of check to make sure the file actually exists, falling back to the default if it doesn't.

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇺🇸United States wrd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024