-
-
Notifications
You must be signed in to change notification settings - Fork 421
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
pdf viewer unable to load pdf from blob url some times #364
Comments
Has anyone found a workaround for that? I'm having the exact same issue currently that'd be really helpful |
Did someone find good solution for this, i am having same problems :( |
same issue for me |
I'm having the same issue. Angular 6. I get a blob file from an API and I convert the blob to URL and is not rendered. |
Hi guys, I had the same issue (pdf in a modal) and it was showing infinitive spinners until refresh the page. I fixed that with setting 'src' variable to null every time before fetching a new Blob from my API. So my code looks something like this:
Using Angular 9... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi @VadimDez ,
Nice plugin to use..
But have few issues while previewing the pdf in a modal pop up.. some times (2 out of 10 attemps) its just showing loading icon even we provided the blob Url
usage:
<pdf-viewer [src]="data.pdfUrl" [render-text]="true" [original-size]="true" [zoom]="1.0" style="display: block;">
the pdfUrl we are passing is blob:http://:8080/2df9ff10-67b7-4771-b388-62b12c0541b7
any help on this is really useful for me..
The version I am using is 5.1.0.
Few more observations afterLoadComplete callbackFn is success but neither pageRendered or onError functions are not even fired.
Thanks.
The text was updated successfully, but these errors were encountered: