-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
pdf.js v2.1.266 Missing PDF #11183
Comments
Such a modification is (obviously) not supported, see PR #6916 for additional details. Furthermore it's quite likely that you, as is already explained in the FAQ (see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-xhr), are running into CORS issues. However, it's unfortunately somewhat difficult to understand exactly what you're actually trying to ask/report here!
|
I agree with the above. The PDF file works fine with the default viewer, so it's most likely a CORS issue. |
yes,it's may be a cors issue,even though I have removed the warning message |
Attach (recommended) or Link to PDF file here:
https://advdownload.advantech.com.cn/productfile/Downloadfile/1-1U1QEN/ADAM-5000-TCP_DS_CHS.pdf
Configuration:
Web browser and its version:chorme 75.0.3770.100
Operating system and its version:win10
PDF.js version:v2.1.266
Is a browser extension:No
Steps to reproduce the problem:
if (origin !== viewerOrigin && protocol !== 'blob:') {
//throw new Error('file origin does not match viewer's');//this line is commented
}
it can not show also.why?
The text was updated successfully, but these errors were encountered: