Open rayssafs opened 4 years ago
The functionality you are describing is currently not implemented, but you can of course replace the LocalStorage code with an alternative method. There is currently no "extensibility" API to introduce such feature, so you would have to modify the existing code.
From the top of my head, I would suggest looking into the savePlace()
function:
https://github.com/readium/readium-js-viewer/blob/a9f48eb30da5ef5fea5c5261067caefa5517ec9b/src/js/EpubReader.js#L758-L791
...more specifically reader.bookmarkCurrentPage()
and Settings.put()
which you could use as a hook / extension point for your distributed / remote storage facility:
I hope this helps.
Hello, I would like to know if there is a way to save and track the reading progress, without saving this information in local storage/ browser. For example, if the users use the reading channel in different devices, they should be able to start on the same page they stop the reading.