textTracks

The read-only textTracks property on HTMLMediaElement objects returns a objects representing the media element's text tracks, in the same order as in the list of text tracks.

MDN Reference