Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Hierarchy

  • TimeRanges

Index

Properties

Methods

Properties

length: number

Returns the number of ranges in the object.

Methods

  • 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(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

    Returns number

Generated using TypeDoc