PDF.js Express Version
Detailed description of issue
The problem I am adressing is how to integrate pdf-js default viewer in a Django web app using iframe. I have been struggling to do the integration, I have also made a github repo viewing two pdf rendering methods: using pdf-js (Not working) and without pdf-js (working). Please find a link to the repository: https://github.com/alpha027/pdfjs_integration.
Expected behaviour
The expected behaviour is to have PDF displayed. Instead, only the header of the pdf appears.
Does your issue happen with every document, or just one?
The issue happens with all documents. Although I was able to use PDF-JS without the Django framework, I was not able to use it with a Django web application
Link to document
Both documents and code could be found in the github repo: https://github.com/alpha027/pdfjs_integration.
It would be really helpful to have a Blog post on this topic.
Finally, Thanks for your support