SourceBufferList object
Represents a collection of SourceBuffer objects.
Important This object is not supported in Internet Explorer 11 on Windows 7.
![]() |
Syntax
var bufferList = oMediaSource.sourceBuffers;
DOM Information
Inheritance Hierarchy
The SourceBufferList does not inherit from any class or interface.Members
The SourceBufferList object has these types of members:
Events
The SourceBufferList object has these events.
| Event | Description |
|---|---|
| addsourcebuffer |
Occurs when the media source is ended. |
| removesourcebuffer |
Occurs when the media source is ended. |
Methods
The SourceBufferList object has these methods.
| Method | Description |
|---|---|
| addEventListener |
Registers an event handler for the specified event type. |
| dispatchEvent |
Sends an event to the current element. |
| item (SourceBufferList) |
Gets the SourceBuffer object at the specified index. |
| removeEventListener |
Removes an event handler that the addEventListener method registered. |
Properties
The SourceBufferList object has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the number of SourceBuffer objects contained in the list. |
Remarks
W3C Media Source Extensions spec.
Show:
