SourceBufferList
インターフェイスの indexed property getter(インデックス指定のプロパティゲッター)を使用すると、リスト内の SourceBuffer
オブジェクトに配列演算子(つまり []
)でアクセスできます。
構文
var mySourceBuffer = sourceBufferList[index];
パラメーター
- index
- 返す
SourceBuffer
オブジェクトのインデックス位置。
戻り値
SourceBuffer
オブジェクト。
例外
特定の例外はスローされませんが、指定されたインデックスが SourceBufferList.length
以上の場合、undefined
を返します。
例
未定
仕様
仕様 | 状態 | コメント |
---|---|---|
Media Source Extensions SourceBuffer() getter の定義 |
勧告 | 初期定義 |
ブラウザーの互換性
BCD tables only load in the browser
The compatibility table in 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.