const region = new VTTRegion();
region.viewportAnchorY = 75; // Place the region 75% from the top edge of the video
console.log(region.viewportAnchorY);VTTRegion: viewportAnchorY property / notebook
VTTRegion: viewportAnchorY property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.