Skip to content

Function: toVttRegion() ​

ts
function toVttRegion(region): VTTRegion;

Defined in: libs/webvtt/src/toVttRegion.ts:13

Convert a WebVTT region to a VTTRegion.

Parameters ​

region ​

WebVttRegion

The WebVTT region to convert.

Returns ​

VTTRegion

The converted VTTRegion.

See ​

VTTRegion

A Streaming Video Technology Alliance project.