TimeRanges
js.html.TimeRanges (extern class)
The TimeRanges interface is used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the audio and video elements.
Documentation TimeRanges by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Instance Members
length: IntReturns an unsigned long representing the number of time ranges represented by the time range object.
Returns the time for the start of the range with the specified index.
| Name | Type |
|---|---|
index |
Int |
| Returns |
|---|
| Float |
Returns the time for the end of the specified range.
| Name | Type |
|---|---|
index |
Int |
| Returns |
|---|
| Float |