Hello

I managed to get a PDF in a content type and to show the full PDF.
But I want't the height of 1 page (A4 always) or just the full height of the document.

How can I manage this? 100%, auto doesn't work. I can only give a certain amount of pixels. But when it's resized, it's not perfect, the frame is higher then the document.

When I try to use the option PDF: Continuos scroll, it breaks. That should also be a solution for me, just the height of the document. But I have the following errors:

Uncaught (in promise) TypeError: Cannot read property 'getDirection' of undefined
at webViewerLocalized (viewer.js?opdors:7109)
viewer.js?opdors:4958 Uncaught (in promise) TypeError: Cannot read property 'firstElementChild' of null
at PDFViewer (viewer.js?opdors:4958)
at viewer.js?opdors:5790
at Promise ()
at Object._initializeViewerComponents (viewer.js?opdors:5778)
at viewer.js?opdors:5692
/sbsdebrug/sites/all/libraries/pdf.js/build/pdf.worker.js:50046 The provided value 'moz-chunked-arraybuffer' is not a valid enum value of type XMLHttpRequestResponseType.
supportsMozChunkedClosure @ /sbsdebrug/sites/all/libraries/pdf.js/build/pdf.worker.js:50046
pdf.js:28 Uncaught (in promise) ReferenceError: getOutputScale is not defined
at renderPage (pdf.js:28)
pdf.js:28 Uncaught (in promise) ReferenceError: getOutputScale is not defined
at renderPage (pdf.js:28)
pdf.js:28 Uncaught (in promise) ReferenceError: getOutputScale is not defined
at renderPage (pdf.js:28)
pdf.js:28 Uncaught (in promise) ReferenceError: getOutputScale is not defined
at renderPage (pdf.js:28)

Comments

Finduilas created an issue.