diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
| commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
| tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/sourcebufferlist/index.html | |
| parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
| download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip | |
initial commit
Diffstat (limited to 'files/ja/web/api/sourcebufferlist/index.html')
| -rw-r--r-- | files/ja/web/api/sourcebufferlist/index.html | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/files/ja/web/api/sourcebufferlist/index.html b/files/ja/web/api/sourcebufferlist/index.html new file mode 100644 index 0000000000..588a496ad3 --- /dev/null +++ b/files/ja/web/api/sourcebufferlist/index.html @@ -0,0 +1,83 @@ +--- +title: SourceBufferList +slug: Web/API/SourceBufferList +tags: + - API + - Audio + - Experimental + - Interface + - MSE + - Media Source Extensions + - Reference + - SourceBufferList + - Video +translation_of: Web/API/SourceBufferList +--- +<p>{{draft}}{{APIRef("Media Source Extensions")}}{{SeeCompatTable}}</p> + +<p><strong><code>SourceBufferList</code></strong> インターフェイスは、複数の {{domxref("SourceBuffer")}} オブジェクトの単純なコンテナリストを表します。</p> + +<p>特定の <code>MediaSource</code> に追加された <code>SourceBuffer</code> を含むソースバッファのリストは、{{domxref("MediaSource.sourceBuffers")}} プロパティを使用して取得できます。 個々のソースバッファは、配列演算子(つまり <code>[]</code>)または {{jsxref("Array.forEach", "forEach()")}} などの関数を使用してアクセスできます。</p> + +<p>{{InheritanceDiagram}}</p> + +<h2 id="Properties" name="Properties">プロパティ</h2> + +<dl> + <dt>{{domxref("SourceBufferList.length")}} {{readonlyInline}}</dt> + <dd>リスト内の {{domxref("SourceBuffer")}} オブジェクトの数を返します。</dd> +</dl> + +<h3 id="Event_handlers" name="Event_handlers">イベントハンドラ</h3> + +<dl> + <dt>{{domxref("SourceBufferList.onaddsourcebuffer")}}</dt> + <dd><code>addsourcebuffer</code> イベントのイベントハンドラ。</dd> + <dt>{{domxref("SourceBufferList.onremovesourcebuffer")}}</dt> + <dd><code>removesourcebuffer</code> イベントのイベントハンドラ。</dd> +</dl> + +<h2 id="Methods" name="Methods">メソッド</h2> + +<p><em>親インターフェイスである {{domxref("EventTarget")}} からメソッドを継承します。</em></p> + +<dl> + <dt><a href="/en-US/docs/Web/API/SourceBufferList/SourceBuffer"><code>SourceBufferList</code>: indexed property getter</a></dt> + <dd>このゲッターにより、リスト内の <code>SourceBuffer</code> オブジェクトに配列演算子(つまり <code>[]</code>)でアクセスできます。</dd> +</dl> + +<h2 id="Examples" name="Examples">例</h2> + +<p>未定</p> + +<h2 id="Specifications" name="Specifications">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">仕様</th> + <th scope="col">状態</th> + <th scope="col">コメント</th> + </tr> + <tr> + <td>{{SpecName('Media Source Extensions', '#sourcebufferlist', 'SourceBufferList')}}</td> + <td>{{Spec2('Media Source Extensions')}}</td> + <td>初期定義</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> + +<div> + + +<p>{{Compat("api.SourceBufferList")}}</p> +</div> + +<h2 id="See_also" name="See_also">関連情報</h2> + +<ul> + <li>{{domxref("MediaSource")}}</li> + <li>{{domxref("SourceBuffer")}}</li> +</ul> |
