-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add Pdf.js support for progressive loading of pdf. #1
Comments
Peter, did you create a branch for this feature in the end? |
Yes, I've created a pdfjs branch where i pull in all the latest from pdf.js project. The progressive loading is disabled by default. To test out those features you manually need to update in PdfJs.js Set disableRange to false to test. In Safari there is a bug, so PDFJS.disableRange is set to true in compatibility.js, if we move forward to implement this we must make sure we do not overwrite this for Safari. mozilla/pdf.js#3352 |
- New attribute added: progressiveLoading with default false. - Added new configuration option to enable this by module config.
I've now added configuration support. Besides enabling the loading, we have to rewrite the pdf page rendering for this to become useful, and that is part of next milestone. |
Agreed. The module is useful for developers experimenting with progressive loading but it is yet another one that will show up in the console. What about giving the extension module file a |
I removed the config for now, and changing milestone to next interation. |
pdf.js has implemented support for progressive loading of pdf.
mozilla/pdf.js#2719
I will create a branch to try this feature out.
TBD if to add progress bar when loading large pdf:s
The text was updated successfully, but these errors were encountered: