Interface MKVTTRegionProperties

Hierarchy

  • MKVTTRegionProperties

Properties

id: string
lines: number
regionAnchorX: number

X coordinate within the region which is anchored to the video viewport.

https://www.w3.org/TR/webvtt1/#webvtt-region-anchor

regionAnchorY: number

Y coordinate within the region which is anchored to the video viewport.

https://www.w3.org/TR/webvtt1/#webvtt-region-anchor

scroll: "" | "up"
viewportAnchorX: number

X coordinate within the video viewport to which the region anchor point is anchored.

https://www.w3.org/TR/webvtt1/#webvtt-region-viewport-anchor

viewportAnchorY: number

Y coordinate within the video viewport to which the region anchor point is anchored.

https://www.w3.org/TR/webvtt1/#webvtt-region-viewport-anchor

width: number