Quote:
Originally Posted by DNSB
You can use JS in .kepub.epub ebooks which are rendered by Kobo's WebKit based renderer. You can also use ePub3 audio/video embedding in .kepub.epub ebooks.
|
In .kepub.epub embedded audio gets rejected on KOBO devices, by showing the error text you provide when embedding the element into your HTML.
Same ebook with .epub extension only, the error message is not shown in the place where the audio element is supposed to be displayed, which means it either got rejected and they don’t prompt it or it is sitting there but cannot be accessed because the touch layer filter restricts all communication with the JS underneath.
On their iOS app it seems to respect JS’s event.preventDefault() because it does work there. I can’t tell for the other platforms they support because I don’t own computers or Android devices…