Properties
length
Returns the number of ranges in the object.readonlylength:number
Methods
end()
end(index:Returns the position of the end of the range represented by the object as specified by thenumber):number
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:Returns the position of the start of the range represented by the object as specified by thenumber):number
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
