TimeRanges
Index
Properties
Methods
Methods
end
end(index: number): number
Returns the time for the end of the range with the given index.
Throws an "IndexSizeError" DOMException if the index is out of range.
Parameters
index: number
Returns number
start
start(index: number): number
Returns the time for the start of the range with the given index.
Throws an "IndexSizeError" DOMException if the index is out of range.
Parameters
index: number
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
MDN Reference