-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Progressive loading not working while loading pdf from another domain. #7531
Comments
This sounds like a CORS issue, please see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-xhr. Closing as answered. |
@Snuffleupagus i have added cors config in my subdomain(media.docstub.com),still progressive loading is not working. My configs are as follow. and link to webpage is https://www.docstub.com/doc/212/lic-model-paper-ii. Can you help? thanks!
|
Is there any solution yet? |
I have the same problem? any solutions? |
It loads full pdf instead of loading chunk by chunk when do cors request |
@zsybupt Thanks for informing. I tried adding expose header to my file but it is not working. I'm using rackspace cloud. Below are the headers I have set,
What do I'm missing? |
When i load pdf within my domain, progressive loading is working. But when i load pdf from another domain i am getting Refused to get unsafe header "Accept-Ranges" error.

The text was updated successfully, but these errors were encountered: