SourceBufferList: length property

Limited availability

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

Note: This feature is available in Dedicated Web Workers.

The length read-only property of the SourceBufferList interface returns the number of SourceBuffer objects in the list.

Value

An unsigned long number.

Examples

TBD

Specifications

Specification
Media Source Extensions™
# dom-sourcebufferlist-length

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
length
Available in workers
Experimental

See also