aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/mediasource/setliveseekablerange/index.html
blob: 8a84f6c7974a12109576943030225854642e158f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: MediaSource.setLiveSeekableRange()
slug: Web/API/MediaSource/setLiveSeekableRange
tags:
  - API
  - Audio
  - Extensions
  - Media
  - Media Source Extensions
  - MediaSource
  - Method
  - Reference
  - Video
  - setLiveSeekableRange()
translation_of: Web/API/MediaSource/setLiveSeekableRange
---
<p>{{APIRef("Media Source Extensions")}}{{SeeCompatTable}}</p>

<p>{{domxref("MediaSource")}} インターフェイスの <strong><code>setLiveSeekableRange()</code></strong> メソッドは、ユーザーがメディア要素でシークできる範囲を設定します。</p>

<h2 id="Syntax" name="Syntax">構文</h2>

<pre class="syntaxbox"><var>mediaSource</var>.setLiveSeekableRange(<var>start</var>, <var>end</var>)</pre>

<h3 id="Parameters" name="Parameters">パラメーター</h3>

<dl>
 <dt>start</dt>
 <dd>ソースの最初から測定された秒単位で設定するシーク可能な範囲の始まり。 メディアソースの期間が正の無限大である場合、{{domxref("HTMLMediaElement.seekable")}} プロパティによって返される {{domxref("TimeRanges")}} オブジェクトは、この値以下の開始タイムスタンプを持ちます。</dd>
 <dt>end</dt>
 <dd>ソースの最初から測定された秒単位で設定するシーク可能な範囲の終わり。 メディアソースの期間が正の無限大である場合、{{domxref("HTMLMediaElement.seekable")}} プロパティによって返される {{domxref("TimeRanges")}} オブジェクトは、この値以上の終了タイムスタンプを持ちます。</dd>
</dl>

<h3 id="Return_value" name="Return_value">戻り値</h3>

<p>{{jsxref('undefined')}}</p>

<h2 id="Example" name="Example"></h2>

<pre class="brush: js">// 未定</pre>

<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','#dom-mediasource-setliveseekablerange','setLiveSeekableRange()')}}</td>
   <td>{{Spec2('Media Source Extensions')}}</td>
   <td>初期定義</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>



<p>{{Compat("api.MediaSource.setLiveSeekableRange")}}</p>