Loading pdf document via instance.ui.loadlocaldocument is not working
Hey, I am having an issue with Pdftron’s WebViewer.
First, I installed the WebViewer in the HTML website ( manual integration ) according to the documentation.
Using the Instance.UI.loadLocalDocument I could successfully preview any DOCX and image files.
But, unfortunately, When I tried to open a PDF file, It’s showing an error message that says, “Failed to execute 'readAsArrayBuffer” on FileReaderSync’: The requested file could not be read. typically due to permission problems that have occurred after a reference to a file was acquired".