Q: ibooksMediaOverlayActive
Hello,
I found the javascript code as below in the media-overlay.js from apple epub fixed layout sample.
It seemes that there are two issues. The code "addClassName" should be jQuery expression. It should not work since tihs sample does not contain jQuery library. But I think it is possible to write the javascript code without jQuery library to add class name. so this is not a serious issue.
But I cannot understand if "ibooksMediaOverlayActive" works properly or not. Is this event supported by iBooks reading system or not?
My goal is to catpure the timing of media overlay playing for particular element (in this sample "word17") for my epub book to trigger the javascript function.
Besides that I know "media:active-class" allows us to define the css color and so on.
| <meta property="media:active-class">-epub-media-overlay-active</meta> |
But I think it does not help me to handle the javascript function...
Are there any successful case for "ibooksMediaOverlayActive" event?
Thank you for your help and support!
Hiroaki
Posted on May 18, 2014 5:06 PM