futurepress / epubjs-reader

Epub.js Reader
MIT License
449 stars 131 forks source link

Does the Futurepress ePub reader support the full javascript interpretation? And how can state be stored? #48

Open Nainoia-Inc-Admin opened 3 years ago

Nainoia-Inc-Admin commented 3 years ago

My company is considering using the ePub format to develop online training and we would need javascript to develop quizzes as part of the content. Does the Futurepress ePub reader understand javascript? I guessing maybe yes since Futurepress runs in the browser?

Also a corollary question, is it possible for an ePub reader to store 'state' from one access to the next access? If Javascript can be used perhaps I could store progress information on an external server and then read this progress information the next time a particular user opens the ePub. I would need to use Javascript when opening the ePub to allow the user to identify themselves also.

AntonOfTheWoods commented 3 years ago

@Nainoia-Inc-Admin , it does, and IMHO is quite well done, but is also very much dormant as a project. I haven't seen the author reply to a single issue in months, and it looks like no one with merge permissions is still around. The Readium platform, and in particular https://github.com/d-i-t-a/R2D2BC, has an active dev and several projects with funding using it. You can also easily inject javascript using R2D2BC.

Nainoia-Inc-Admin commented 3 years ago

ok thanks for the tip.