Sync Media Segment Target Data
A target related with a SyncMediaSegment, such as the DOM node being spoken by TTS, or active element when playing media overlays.
EPUB Media Overlays reports two targets. One with type "application/smil+xml" containing the "par" node backing this segment (including references to parent "seq" nodes). One with type "application/xhtml+xml" containing the html node targeted by the "par" node.
Each node contains a start and end SyncMediaTimelinePosition. If you for example want to allow user's to skip content such as "table" elements, you can search for nodes with nodeName == "table" and skip to that node's endPosition.
Constructors
Properties
Describes the framework component that was the target of the event.
A locator that points to the publication content related with the event.
A JSON compatible data structure representing the underlying node that was the target of the event, like for example a HTML node in a HTML content-document.
The type of EngineEventTarget object this JSON structure represents.
The index of the reader document that was the target of the event if any.