The EPUB content iterator now returns audio and video elements and fill in the progression and totalProgression locator properties.
Changed
Navigator
EPUBNavigatorViewController.firstVisibleElementLocator() now returns the first block element that is visible on the screen, even if it starts on previous pages.
This is used to make sure the user will not miss any context when restoring a TTS session in the middle of a resource.
Fixed
Streamer
Fix issue with the TTS starting from the beginning of the chapter instead of the current position.
Compute a progression and totalProgression in the HTML content iterator locators.
Optimize computation of a locator substring.
Parse inline text nodes in an element containing more children elements.
Locate starting location when in an empty element.
Added
Streamer
audio
andvideo
elements and fill in theprogression
andtotalProgression
locator properties.Changed
Navigator
EPUBNavigatorViewController.firstVisibleElementLocator()
now returns the first block element that is visible on the screen, even if it starts on previous pages.Fixed
Streamer
progression
andtotalProgression
in the HTML content iterator locators.Locator.Text
.