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

The type of the event.