Back to Content

SourceBuffer: textTracks property

files/en-us/web/api/sourcebuffer/texttracks/index.md

latest490 B
Original Source

{{APIRef("Media Source Extensions")}}{{AvailableInWorkers("window_and_dedicated")}}{{SeeCompatTable}}

The textTracks read-only property of the {{domxref("SourceBuffer")}} interface returns a list of the text tracks currently contained inside the SourceBuffer.

Value

A {{domxref("TextTrackList")}} object.

Examples

TBD

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("MediaSource")}}
  • {{domxref("SourceBufferList")}}