const region = new VTTRegion();
region.width = 50; // Set the region to 50% of the video's width
console.log(region.width);VTTRegion: width property / notebook
VTTRegion: width property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.