TextTrack: sourceBuffer property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The read-only sourceBuffer
property of the TextTrack
interface returns the
SourceBuffer
that created the track, or null if the track was not
created by a SourceBuffer
or the SourceBuffer
has been
removed from the MediaSource.sourceBuffers
attribute of its parent
media source.
Value
A SourceBuffer
or null.
Specifications
Specification |
---|
Media Source Extensions™ # dom-texttrack-sourcebuffer |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sourceBuffer |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
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.