Today we upgraded the software to include a "PDF Embed" feature. I *think* what that means is that when you attach a PDF to a post it will automatically be rendered in a standard viewer in modern browsers, rather than just showing as an attachment.
If anyone has any problem with this feature please let me know!
Notes from developer:
Renders uploaded and included PDF files (attachments and media files).
This extension for WoltLab Suite 5.3 and newer allows you to embed PDF files (attachments and media files) directly into your content (e.g. articles or forum posts). Nothing changes for you in terms of handling, i.e. you insert the PDF files into your content as before and the extension does the rest.
For this purpose, all available options are used to enable the integration at any time and in any browser. In addition, Mozilla's integrated PDF.js library can help you display PDF files even in browsers or on devices that do not actually offer native support for PDF files (e.g. Android). If the integration of PDF files is not possible despite all efforts, the link behaves normally and leads directly to the PDF file.
The extension options allow you to specify how or when PDF files should be displayed: Directly on page load, or only after clicking on the link. In addition, you can also specify in the settings whether PDF.js should be used as a fallback or not.
What can this extension not do?
This extension is not designed for inconsistent display, i.e. it is not possible or not intended to change the display for individual PDF files with this extension. Included PDF files are displayed consistently across the entire WoltLab Suite by default.
Furthermore, it is not possible or intended to include external PDF files, because this is prevented by most servers and browsers.