Class: SeekableRange

  • SeekableRange helps define the portion of media that can be sought (fast-forwarded or rewound).

  • It's initialized using start and end values representing seconds in the media.

  • The start and end properties store the beginning and ending points of the seekable range respectively, which can be retrieved later.

Constructor

SeekableRange

new SeekableRange(start, end)

Parameter

start

Optional

number

end

Optional

number

Properties

end

(number or undefined)

The end of the seekable range in seconds.

start

(number or undefined)

The start of the seekable range in seconds.