VadimDez/ng2-pdf-viewer

ng-pdf-viewer showing black screen

goyalsunil452 opened this issue · 2 comments

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

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:

  • chrome works because it's an annother pdflibray
  • firefox fails and also shows a black screen

You should report this as a bug to pdfjs project.