-
Notifications
You must be signed in to change notification settings - Fork 185
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
zip libraries in both readium-js-viewer and readium-js, update all to latest version? #289
Comments
See Pull Requests (WIP, not tested yet): #290 readium/readium-js#92 |
Using the aforementioned Pull Requests, I successfully tested the cloud reader with zipped EPUBs (bearing in mind the known caveats of audio/video/subtitle playback fail, see readium/readium-js#93 and readium/readium-js#94 ). |
Note that @ryanackley implemented a fix that required modifying the zip library ( |
I've just noticed that because |
unpacked EPUB support in cloud reader (zip.fs is unchanged, to preserve Ryan's patches)
|
@ryanackley I have just successfully tested the big german EPUB that was making the Readium Chrome extension crash when importing it, it still works fine (I preserved your patch in |
Note that this is addressed in the "plugins" feature branch(es) for both readium-js and readium-js-viewer (no more duplicate zip-js lib, and we use Ryan's patched version obtained via an NPM package hosted on GitHub) |
Fixed via RequireJS refactoring: # "zipjs": 'gildas-lormeau/zip.js'
# "zipjs": 'ryanackley/zip.js'
"zipjs": "danielweck/zip.js" (we fork the zipjs lib to patch it, and we track upstream changes when invoking |
readium-js
lib folder listing (the zip utility is used by the cloud reader to read EPUBs directly from the packed archive):https://github.com/readium/readium-js/tree/develop/lib
readium-js-viewer
lib folder listing (the zip utility is used to decompress/unpack the EPUB archives into the Chrome file system):https://github.com/readium/readium-js-viewer/tree/master/lib/thirdparty
Right now, the files zip.js, zip-ext.js, zip-fs.js, deflate.js, and inflate.js are out of date. Also, z-worker.js is missing.
I guess these files should be updated in both repositories, consistently.
Dowloadable library package:
http://gildas-lormeau.github.io/zip.js/
Source code tree:
https://github.com/gildas-lormeau/zip.js/tree/master/WebContent
The text was updated successfully, but these errors were encountered: