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
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
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 No support No | Samsung Internet Android No support No |
Legend
- Full support
- Full support
- No support
- No support