Controls a video adapter

Hierarchy

Constructors

Properties

viewer: Viewer
VERSION: string = PKG_VERSION

Expected version of the core DO NOT USE on custom plugins

id: "video" = 'video'

Unique identifier of the plugin

readonlyOptions: string[] = ...

Methods

  • Type Parameters

    • T extends "progress" | "play-pause" | "volume-change" | "buffer"

      the name of event

    • E extends Object

      the class of the event

    Parameters

    • type: T
    • callback: EventListenerObject | ((e) => void)
    • Optional options: boolean | AddEventListenerOptions
      Optional

    Returns void

  • Type Parameters

    • T extends "progress" | "play-pause" | "volume-change" | "buffer"

      the name of event

    • E extends Object

      the class of the event

    Parameters

    • type: "progress" | "play-pause" | "volume-change" | "buffer"
    • callback: EventListenerObject | ((e) => void)
    • Optional options: boolean | EventListenerOptions
      Optional

    Returns void

Generated using TypeDoc