audiobookshelf
audiobookshelf copied to clipboard
Migrate to new pdf viewer
This is an attempt to resolve #2279. It should retain all the functionality of the current viewer but also resolve the issues outlined there. The styling isn't perfect yet, but i've been unable to produce a "nice" solution to that, yet.
Wonder if you should look into implementing this instead for your PR?
https://github.com/johnfactotum/foliate-js
@gh0sti Is there any reason for switching? It does not seem to have any integration with vue.
@gh0sti Is there any reason for switching? It does not seem to have any integration with vue.
I saw in discord chat dev channel some of the devs mentioning it.
@advplyr would you mind taking a look at this so it may be merged? :)
I checked this out and merged master. Scaling doesn't work properly. It doesn't load the current page because it is listening to the wrong event, should be @loading
.
This library is abandoned like the one currently used. It is probably worth looking for a library that is up-to-date. I think we also need a pdf worker.js file to use with pdf.js. I saw a warning in the console about this but haven't spent a lot of time on it due to the library being abandoned and the issues I mentioned above.