Skip to main content

Interface: SeekCompletedEvent

Defined in: packages/player/src/player.ts:835

Payload of the seekCompleted event.

Properties

position

readonly position: number;

Defined in: packages/player/src/player.ts:847

Where playback resumed, in seconds. This one is authoritative: mpv's playbackRestart is the point at which the position becomes meaningful again, and the player already re-anchors on a real time-pos read there (see the batch read budget), so this costs nothing extra.


reason

readonly reason: PositionDiscontinuityReason;

Defined in: packages/player/src/player.ts:840

What caused it — the same value the matching SeekStartedEvent carried.