as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
Represents a list of ranges (periods) of time. For additional information, see https://html.spec.whatwg.org/multipage/media.html#timeranges.

Properties

length

readonly length: number
Returns the number of ranges in the object.

Methods

end()

end(index: number): number
Returns the position of the end of the range represented by the object as specified by the index parameter. The value is returned as seconds measured from the start of the timeline that the object covers. For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-timeranges-end.

Parameters

index
number

Returns

number

start()

start(index: number): number
Returns the position of the start of the range represented by the object as specified by the index parameter. The value is returned as seconds measured from the start of the timeline that the object covers. For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-timeranges-start.

Parameters

index
number

Returns

number
最終更新日 2026年8月25日