Quote:
Originally Posted by Slevin#7
Afaik, none of the major commercial reading applications like Google Play Books or Apple Books support JS for security reasons.
|
Apple Books does support Javascript in epub3 and has since Apple Books 1.5.
Quote:
Books with JavaScript Interactivity
Overview
Interactive content is supported for both flowing books and fixed-layout books. This section provides information and tips for creating interactivity using JavaScript. EPUBs with JavaScript interactivity require Apple Books 1.5.
|
Google Play does not support javascript, or mathml or multi-column layouts and other sections in the nav besides the toc. That is quite a list of unsupported features. Seems like someone is trying to get by with an epub2 level rendering engine.
I would not consider Google Play epub3 compliant at all as it seems to skip too many of the specs features.
Again real epub3 e-readers typically use web engines like webkit, or blink (electron, Readium) which are all javascript and C++/C based and can therefore easily use javascript both internally and support its use in epub.
That is why it is so rare to find a real epub3 e-reader that does not support basic javascript.
Not sure what is up with Google Play as even Chrome's blink supports javascript, mathml, multi-column, etc. Sigil's QtWebEngine is a Chrome blink web engine. So natively Google Play should support anything Sigil does unless it was split off from development long ago.
Perhaps Google Play uses a really old engine?