From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/sourcebuffer/remove/index.html | 94 +++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 files/ja/web/api/sourcebuffer/remove/index.html (limited to 'files/ja/web/api/sourcebuffer/remove/index.html') diff --git a/files/ja/web/api/sourcebuffer/remove/index.html b/files/ja/web/api/sourcebuffer/remove/index.html new file mode 100644 index 0000000000..e6adf8bd46 --- /dev/null +++ b/files/ja/web/api/sourcebuffer/remove/index.html @@ -0,0 +1,94 @@ +--- +title: SourceBuffer.remove() +slug: Web/API/SourceBuffer/remove +tags: + - API + - Audio + - Experimental + - MSE + - Media Source Extensions + - Method + - Reference + - SourceBuffer + - Video + - remove +translation_of: Web/API/SourceBuffer/remove +--- +
{{draft}}{{APIRef("Media Source Extensions")}}{{SeeCompatTable}}
+ +

{{domxref("SourceBuffer")}} インターフェイスの remove() メソッドは、特定の時間範囲内のメディアセグメントを SourceBuffer から削除します。 このメソッドは、{{domxref("SourceBuffer.updating")}} が false の場合にのみ呼び出すことができます。 SourceBuffer.updatingfalse に等しくない場合、{{domxref("SourceBuffer.abort()")}} を呼び出します。

+ +

構文

+ +
sourceBuffer.remove(start, end);
+
+ +

パラメーター

+ +
+
start
+
時間範囲の始まりを秒単位で表す double 型。
+
end
+
時間範囲の終わりを秒単位で表す double 型。
+
+ +

戻り値

+ +

{{jsxref('undefined')}}。

+ +

例外

+ + + + + + + + + + + + + + + + + + +
例外説明
InvalidAccessError{{domxref("MediaSource.duration")}} プロパティが NaN に等しいか、start パラメーターが負であるか {{domxref("MediaSource.duration")}} より大きいか、end パラメーターが start 以下または NaN に等しい。
InvalidStateError{{domxref("SourceBuffer.updating")}} プロパティが true に等しいか、この SourceBuffer が {{domxref("MediaSource")}} から取り除かれています。
+ +

+ +

未定

+ +

仕様

+ + + + + + + + + + + + + + +
仕様状態コメント
{{SpecName('Media Source Extensions', '#idl-def-sourcebuffer-remove(double,unrestricted_double)', 'remove()')}}{{Spec2('Media Source Extensions')}}初期定義
+ +

ブラウザーの互換性

+ +
+ + +

{{Compat("api.SourceBuffer.remove")}}

+
+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf