这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
indexed property getter
的
SourceBufferList
interface allows the
SourceBuffer
objects in the list to be accessed with an array operator (i.e.
[]
)。
var mySourceBuffer = sourceBufferList[index];
SourceBuffer
object you want to return.
A
SourceBuffer
对象。
No specific exceptions are thrown, but if the supplied index is great than or equal to
SourceBufferList.length
, the operation will return
undefined
.
TBD.
| 规范 | 状态 | 注释 |
|---|---|---|
|
媒体源扩展
The definition of 'SourceBuffer() getter' in that specification. |
推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
SourceBuffer
|
Chrome 45 | Edge 12 |
Firefox
42
|
IE 11 | Opera 32 | Safari 8 | WebView Android 45 | Chrome Android 45 | Firefox Android 不支持 No | Opera Android 32 | Safari iOS 不支持 No | Samsung Internet Android 5.0 |
完整支持
不支持
实验。期望将来行为有所改变。
见实现注意事项。
用户必须明确启用此特征。
SourceBufferList
SourceBufferList: indexed property getter