Interface EmptiedEvent

Fired when the player's source is cleared.

interface EmptiedEvent {
    currentTime: number;
    date: Date;
    readyState: number;
    type: "emptied";
}

Hierarchy (view full)

  • Event<"emptied">
    • EmptiedEvent

Properties

currentTime: number

The player's current time.

date: Date

The creation date of the event.

readyState: number

The player's new ready state.

type: "emptied"

The type of the event.