Open ShanaLMoore opened 2 months ago
This is what I am getting when adding a PDF to a generic work.
Hey @sjproctor the file set looks like a jpg, just wanted to double that if this was a actually a PDF or not.
When PDF.js is enabled and we attach a PDF file to a work:
@laritakr just confirming, this ticket doesn't test the logic you were discussing the other day? This ticket is only about PDF.js behavior when the feature is flipped, not about testing PDF.js as the preliminary viewer before the UV kicks in?
this ticket doesn't test the logic you were discussing the other day?
Correct. I am finishing up the work today to use PDF.js and UV as we discussed.
Works as expected on staging. Created this new work: https://adl.s2.adventistdigitallibrary.org/concern/conference_items/67eff180-3e9b-4f42-8192-363fefef841f?locale=en
Immediately after upload:
After refresh:
Flipped the feature back to UV and PDF.js was still present and working great with this work.
Summary
related:
PDF.js isn't loading.
The following was imported via oai bulkrax.
Acceptance Criteria
Testing Instructions
Feature flip to PDF.js. Via bulkrax or manually, import a PDF file. check the pdf.js viewer on the work's show page.
Notes