SourceBuffer.textTracks

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Draft
This page is not complete.

The textTracks read-only property of the SourceBuffer interface returns a list of the text tracks currently contained inside the SourceBuffer.

Syntax

var myTextTracks = sourceBuffer.textTracks;

Value

An TextTrackList object.

Example

TBD

Specifications

Specification Status Comment
Media Source Extensions
The definition of 'textTracks' in that specification.
Recommendation Initial definition.

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
textTracksChrome No support NoEdge Full support 18Firefox No support NoIE No support NoOpera No support NoSafari Full support 8WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support
Full support
No support
No support

See also