OptionallineCue position on the axis perpendicular to the text flow.
For horizontal captions this controls vertical placement:
{ value: 85, unit: 'percent' } — 85% down the viewport.{ value: 12, unit: 'line' } — 12 rendered text-line slots from the edge.{ value: 'auto' } — renderer chooses placement.For vertical captions this controls horizontal placement.
OptionallineWhich edge of the cue box is anchored at line.
Does not control text alignment inside the box; see textAlign for that.
OptionalpositionCue box position as a percentage of the viewport on the axis orthogonal to line.
'auto' defers to the renderer.
OptionalpositionWhich edge of the cue box is anchored at position.
OptionalsizeWidth of the cue box as a percentage of the viewport dimension in the writing direction.
OptionaltextText alignment inside the cue box.
OptionalwritingWriting direction of the cue text; affects how line, position, and size are interpreted.
When absent, the cue uses the default horizontal writing direction.
Normalized cue-box geometry.
Values reflect native cue data including platform defaults, not only explicitly authored subtitle settings. Omitted fields were not set or not applicable for this cue.
Platform
Android