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 | |
| 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')
| -rw-r--r-- | files/ja/web/api/sourcebufferlist/index.html | 83 | ||||
| -rw-r--r-- | files/ja/web/api/sourcebufferlist/length/index.html | 60 | ||||
| -rw-r--r-- | files/ja/web/api/sourcebufferlist/sourcebuffer/index.html | 75 |
3 files changed, 218 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> diff --git a/files/ja/web/api/sourcebufferlist/length/index.html b/files/ja/web/api/sourcebufferlist/length/index.html new file mode 100644 index 0000000000..dc60109a68 --- /dev/null +++ b/files/ja/web/api/sourcebufferlist/length/index.html @@ -0,0 +1,60 @@ +--- +title: SourceBufferList.length +slug: Web/API/SourceBufferList/length +tags: + - API + - Audio + - MSE + - Media Source Extensions + - Property + - Reference + - SourceBufferList + - Video + - length +translation_of: Web/API/SourceBufferList/length +--- +<div>{{draft}}{{APIRef("Media Source Extensions")}}{{SeeCompatTable}}</div> + +<p>{{domxref("SourceBufferList")}} インターフェイスの <strong><code>length</code></strong> 読み取り専用プロパティは、リスト内の {{domxref("SourceBuffer")}} オブジェクトの数を返します。</p> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox">var <em>myListLength</em> = <em>sourceBufferList</em>.length;</pre> + +<h3 id="Value" name="Value">値</h3> + +<p>unsigned long 型の数。</p> + +<h2 id="Example" name="Example">例</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', '#idl-def-sourcebufferlist-length', 'length')}}</td> + <td>{{Spec2('Media Source Extensions')}}</td> + <td>初期定義</td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> + + + +<p>{{Compat("api.SourceBufferList.length")}}</p> + +<h2 id="See_also" name="See_also">関連情報</h2> + +<ul> + <li>{{domxref("MediaSource")}}</li> + <li>{{domxref("SourceBuffer")}}</li> +</ul> diff --git a/files/ja/web/api/sourcebufferlist/sourcebuffer/index.html b/files/ja/web/api/sourcebufferlist/sourcebuffer/index.html new file mode 100644 index 0000000000..8b5651a441 --- /dev/null +++ b/files/ja/web/api/sourcebufferlist/sourcebuffer/index.html @@ -0,0 +1,75 @@ +--- +title: 'SourceBufferList: indexed property getter' +slug: Web/API/SourceBufferList/SourceBuffer +tags: + - API + - Audio + - Experimental + - Getter + - MSE + - Media Source Extensions + - Method + - Reference + - SourceBuffer + - SourceBufferList + - Video +translation_of: Web/API/SourceBufferList/SourceBuffer +--- +<div>{{APIRef("Media Source Extensions")}}{{SeeCompatTable}}</div> + +<p><span class="seoSummary">{{domxref("SourceBufferList")}} インターフェイスの <strong>indexed property getter</strong>(インデックス指定のプロパティゲッター)を使用すると、リスト内の <code>SourceBuffer</code> オブジェクトに配列演算子(つまり <code>[]</code>)でアクセスできます。</span></p> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox">var <em>mySourceBuffer</em> = <em>sourceBufferList</em>[<em>index</em>];</pre> + +<h3 id="Parameters" name="Parameters">パラメーター</h3> + +<dl> + <dt>index</dt> + <dd>返す {{domxref("SourceBuffer")}} オブジェクトのインデックス位置。</dd> +</dl> + +<h3 id="Return_value" name="Return_value">戻り値</h3> + +<p>{{domxref("SourceBuffer")}} オブジェクト。</p> + +<h3 id="Exceptions" name="Exceptions">例外</h3> + +<p>特定の例外はスローされませんが、指定されたインデックスが {{domxref("SourceBufferList.length")}} 以上の場合、<code>undefined</code> を返します。</p> + +<h2 id="Example" name="Example">例</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', '#idl-def-sourcebufferlist-(unsigned_long)', 'SourceBuffer() getter')}}</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.SourceBuffer")}}</p> +</div> + +<h2 id="See_also" name="See_also">関連情報</h2> + +<ul> + <li>{{domxref("MediaSource")}}</li> + <li>{{domxref("SourceBuffer")}}</li> +</ul> |
