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

Callback for events emitted by the player.

Type Parameters

  • T

    The event data type.

Type declaration

    • (this, value): void
    • Parameters

      • this: HTMLIFrameElement

        {HTMLIFrameElement} The embedded player iframe HTML element.

      • value: T

        The event data.

      Returns void