Skip to main content

Interface: CaptionTrackHandle

Defined in: src/a11y/captions.ts:39

A handle to an attached caption track, with a cleanup function.

Properties​

track​

track: HTMLTrackElement

Defined in: src/a11y/captions.ts:41

The <track> element added to the video.


url​

url: string

Defined in: src/a11y/captions.ts:43

The blob URL backing the track.

Methods​

remove()​

remove(): void

Defined in: src/a11y/captions.ts:45

Detach the track and revoke its blob URL. Safe to call more than once.

Returns​

void