VadimDez / ng2-pdf-viewer

📄 PDF Viewer Component for Angular
https://vadimdez.github.io/ng2-pdf-viewer/
MIT License
1.28k stars 405 forks source link

ng-pdf-viewer showing black screen #1090

Closed goyalsunil452 closed 1 week ago

goyalsunil452 commented 3 weeks ago
Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [ ] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

When I am using this url (https://dev.production.nslhub.com/dsd-orch/dsd-files-store/content/grafdev/other/tempce07eb00-22d8-417e-ad9d-0acad609bc06.pdf ) it is showing black screen. But if I use browser then I am able to see this pdf. image

ftaffelt commented 2 weeks ago

The problem is not related to ng2-pdf-viewer. It's more related to the underlying pdfjs library which is used by ng2-pdf-viewer. Opening the url directly in:

You should report this as a bug to pdfjs project.

goyalsunil452 commented 1 week ago

Thanks @ftaffelt