Interface EndedEvent

Fired when playback has stopped because the end of the media resource was reached.

interface EndedEvent {
    currentTime: number;
    date: Date;
    type: "ended";
}

Hierarchy (view full)

Properties

Properties

currentTime: number

The player's current time.

date: Date

The creation date of the event.

type: "ended"

The type of the event.

Generated using TypeDoc