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
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.
Update compatibility data on GitHub
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 Partial support 13 Partial support 13 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
SourceBuffer.textTracks by Mozilla Contributors is licensed under CC-BY-SA 2.5.