Interface UserActions

Actions that define the behavior of the player.

Remarks


- Available since v4.3.0

interface UserActions {
    click?: boolean | ((event) => void);
}

Properties

Properties

click?: boolean | ((event) => void)

Whether clicking the player element will play/pause the player.

Type declaration

    • (event): void
    • Parameters

      • event: any

      Returns void

Default Value

true