Can't load pdf from files. It gives dialog saying network failure


It look like you are running the React sample from GitHub - PDFTron/webviewer-react-sample: Sample to demonstrate integrating WebViewer into React

I cloned a copy of it and it seems to be working. Would it be possible for you to post a screenshot of the browser console log (and maybe network tab) with the error? Also what browser (and version) are you using? Thank you