Interface DurationChangeEvent

Fired when ChromelessPlayer.duration changes.

interface DurationChangeEvent {
    date: Date;
    duration: number;
    type: "durationchange";
}

Hierarchy (view full)

  • Event<"durationchange">
    • DurationChangeEvent

Properties

Properties

date: Date

The creation date of the event.

duration: number

The player's new duration.

type

The type of the event.