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.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.