org.scalajs.dom
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.
Returns the time offset at which a specified time range ends.
Returns the number of ranges in the object.
Returns the time for the start of the range with the specified index.
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.