The VTTRegion() constructor creates a new VTTRegion object instance.
new VTTRegion()None.
A new VTTRegion object.
The properties of the returned object are initialized to the following values:
id: "" (the empty string)width: 100lines: 3regionAnchorX: 0regionAnchorY: 100viewportAnchorX: 0viewportAnchorY: 100scroll: "" (the empty string)const region = new VTTRegion();
region.width = 50; // Use 50% of the video width
region.lines = 4; // Use 4 lines of height.