logo

THEOplayer > TextTracksList

TextTracksList interface

Inherits from TrackList<TextTrack>. See parent page for inherited properties and methods.

List of text tracks.

Signature:

export interface TextTracksList extends TrackList<TextTrack> 

Properties

Property

Type

Description

length

number

The number of text tracks in the list.

Methods

Method

Description

item​(index: number): TextTrack

Return the text track at the requested index in the list.

Property Details

length

The number of text tracks in the list.

Signature:

readonly length: number;

Method Details

item

Return the text track at the requested index in the list.

Signature:

item(index: number): TextTrack;

Parameters

Parameter

Type

Description

index

number

A number representing the index of a text track in the list.

Returns

The text track with index index in the list.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona