Docs

files_pdfviewer

This application integrates the PDF.js library into ownCloud. Using this application users can view their PDF files online without downloading the file.

Modified by BW-Tech GmbH for owncloud.online. This fork keeps the original ownCloud files_pdfviewer behavior and targets PHP 8.4.

Quality Gate Status Security Rating Coverage

Instructions to update pdfjs

  1. Prerequisites
  • Install npm
  • Install bower
  • Install gulp
  1. Update pdfjs version in bower.json

  2. Run make rebuild-pdfjs

  3. New version of the library will be in js/vendor/pdfjs

  4. Check if templates/viewer.php needs to be updated to match js/vendor/pdfjs/web/viewer.html

  5. Test the app ;)

Maintainers