Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ng-pdf-viewer showing black screen #1090

Closed
goyalsunil452 opened this issue May 9, 2024 · 2 comments
Closed

ng-pdf-viewer showing black screen #1090

goyalsunil452 opened this issue May 9, 2024 · 2 comments

Comments

@goyalsunil452
Copy link

goyalsunil452 commented May 9, 2024

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
Copy link
Contributor

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.

@goyalsunil452
Copy link
Author

Thanks @ftaffelt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants