EventCallback: (this: HTMLIFrameElement, value: T) => void

Callback for events emitted by the player.

Type Parameters

  • T

    The event data type.

Type declaration

    • (this: HTMLIFrameElement, value: T): void
    • Parameters

      • this: HTMLIFrameElement

        {HTMLIFrameElement} The embedded player iframe HTML element.

      • value: T

        The event data.

      Returns void