diff options
Diffstat (limited to 'files/ja/web/api/videotracklist/selectedindex/index.html')
| -rw-r--r-- | files/ja/web/api/videotracklist/selectedindex/index.html | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/files/ja/web/api/videotracklist/selectedindex/index.html b/files/ja/web/api/videotracklist/selectedindex/index.html new file mode 100644 index 0000000000..b3e5e5da92 --- /dev/null +++ b/files/ja/web/api/videotracklist/selectedindex/index.html @@ -0,0 +1,51 @@ +--- +title: VideoTrackList.selectedIndex +slug: Web/API/VideoTrackList/selectedIndex +tags: + - API + - HTML DOM + - Media + - Property + - Read-only + - Reference + - Video + - VideoTrackList + - track +translation_of: Web/API/VideoTrackList/selectedIndex +--- +<div>{{APIRef("HTML DOM")}}</div> + +<p><span class="seoSummary">読み取り専用の <strong>{{domxref("VideoTrackList")}}</strong> の <strong><code>selectedIndex</code></strong> プロパティは、現在選択されているトラックがある場合はそのインデックスを返し、それ以外の場合は <code>-1</code> を返します。</span></p> + +<h2 id="Syntax" name="Syntax">構文</h2> + +<pre class="syntaxbox">var <em>index</em> = <em>VideoTrackList</em>.selectedIndex;</pre> + +<h3 id="Value" name="Value">値</h3> + +<p>現在選択されているトラックがある場合はそのインデックスを示す数値、それ以外の場合は <code>-1</code>。</p> + +<h2 id="Specifications" name="Specifications">仕様</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">仕様</th> + <th scope="col">状態</th> + <th scope="col">コメント</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('HTML WHATWG', '#dom-videotracklist-selectedindex', 'VideoTrackList: selectedIndex')}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td> </td> + </tr> + </tbody> +</table> + +<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2> + + + +<p>{{Compat("api.VideoTrackList.selectedIndex")}}</p> |
