1. Web
  2. Web APIs
  3. TextTrack
  4. sourceBuffer

TextTrack: sourceBuffer property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Want more support for this feature? Tell us why.

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 ExtensionsTM
# dom-texttrack-sourcebuffer

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /