Web/API/SourceBuffer/textTracks

From Get docs

This is an experimental technologyCheck 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 ExtensionsThe definition of 'textTracks' in that specification. Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
textTracks Chrome

No support No

Edge

Full support 18

Firefox

No support No

IE

No support No

Opera

No support No

Safari

Full support 8

WebView Android

No support No

Chrome Android

No support No

Firefox Android

No support No

Opera Android

No support No

Safari iOS Partial support 13

Notes'

Partial support 13

Notes'

Notes' Exposed in Mobile Safari on iPad but not on iPhone.

Samsung Internet Android

No support No

Legend

Full support  
Full support
Partial support  
Partial support
No support  
No support
See implementation notes.'
See implementation notes.


See also