For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Interface TimeRanges
Properties
Readonlylength
length: number
The TimeRanges.length read-only property returns the number of ranges in the object.
Methods
end
-
The
end()method of the TimeRanges interface returns the time offset (in seconds) at which a specified time range ends.Parameters
- index: number
Returns number
start
-
The
start()method of the TimeRanges interface returns the time offset (in seconds) at which a specified time range begins.Parameters
- index: number
Returns number
When loading a media resource for use by an
MDN Reference