Which product are you using?
PDF.js Express Plus
PDF.js Express Version
8.0.1
Detailed description of issue
I have some valid URLs which PDFJS can’t open.
Expected behavior
Actually, I have a lot of valid PDF URLs. Expected behavior open PDF with the listed URL.
Does your issue happen with every document, or just one?
Not for every URL.
Link to document
- https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0230503&type=printable
- [0810.3252] High Energy Sources Observed with OMC
- https://core.ac.uk/download/335344838.pdf
- http://europepmc.org/backend/ptpmcrender.fcgi?accid=PMC5325212&blobtype=pdf
Code snippet
initializeWebViewer = () => {
WebViewer(
{
path: '/static/pdfexpress',
initialDoc: this.props.initialDoc,
disableFlattenedAnnotations: true,
disabledElements: [
'ribbons'
// 'textPopup',
// 'toggleNotesButton',
],
licenseKey: '##############'
},
this.viewerRef.current
).then(instance => {)