We seem to be experiencing some issues with this component on our platform lately.
even with this error smaller assets seem to load in without any issues.
for larger assets the entire page crashes and throws an OUT_OF_MEMORY error
Hey @Jan Wilfried van der Plaats ,Just to let you know that a new version of the component was released, and should fix the problems you reported with the files not loading.If you still have problems with that, please let me know.Also, to work with big files, what might help is using an URL instead of a Binary if possible.Best Regards
Hello,
Check the URL that you are passing to pdf js,
Install Asset in your environment
Then call url with your environment domain
Regards
Shradha
that is the current configuration
Check call of PDF Js according to sample demo OML has given for this forge component
DocURL:"/PDF_JS_Sample/sample-file.pdf"
i am not using the DocUrl to pass through the pdf. i am using the binary which is being fully fetched.this is the error i receive when using the publicurl of the cloud assets.
Hey @Jan Wilfried van der Plaats ,Sorry for the delay.
Were you able to fix this issue?I believe the problem you are having with the locale.properties file is related to the different Mime Types your server allow to download.Check here:
However, this file shouldn't impact you opening the PDF, as it is used only for identifying the locale the component should use to show texts in a specifc language for example.
The other error you are getting when using an URL might be related to CSP policies.
If I got it right your issue is when trying to open a big file, correct?