THEOplayer Web SDK
    Preparing search index...

    Interface CanPlayEvent

    Fired when the player can resume playback of the media data.

    interface CanPlayEvent {
        currentTime: number;
        date: Date;
        readyState: number;
        type: "canplay";
    }

    Hierarchy (View Summary)

    • Event<"canplay">
      • CanPlayEvent
    Index

    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: "canplay"

    The type of the event.