Constructors

Properties

activeClip?: {
    path: string;
    playId: string;
}

Type declaration

  • path: string
  • playId: string
cogsConnection: CogsConnection<any, Record<never, never>>
eventTarget: EventTarget = ...
globalVolume: number = 1
parentElement: HTMLElement
pendingClip?: {
    actionOncePlaying: "pause" | "play" | "stop";
    path: string;
    playId: string;
}

Type declaration

  • actionOncePlaying: "pause" | "play" | "stop"
  • path: string
  • playId: string
sinkId: string = ''
videoClipPlayers: {
    [path: string]: InternalClipPlayer;
} = {}

Type declaration

  • [path: string]: InternalClipPlayer

Methods

  • Type Parameters

    • EventName extends keyof EventTypes

    Parameters

    • type: EventName
    • listener: ((ev) => void)
        • (ev): void
        • Parameters

          Returns void

    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • path: string
    • config: {
          ephemeral: boolean;
          fit: MediaObjectFit;
          preload: "auto" | "none" | "metadata";
      }
      • ephemeral: boolean
      • fit: MediaObjectFit
      • preload: "auto" | "none" | "metadata"

    Returns InternalClipPlayer

  • Parameters

    • path: string
    • config: {
          ephemeral: boolean;
          fit: MediaObjectFit;
          preload: "auto" | "none" | "metadata";
      }
      • ephemeral: boolean
      • fit: MediaObjectFit
      • preload: "auto" | "none" | "metadata"
    • __namedParameters: {
          volume: number;
      }
      • volume: number

    Returns HTMLVideoElement

  • Parameters

    • playId: string
    • file: string
    • status: MediaStatus

    Returns void

  • Parameters

    • path: string
    • __namedParameters: {
          fit: MediaObjectFit;
          loop: boolean;
          playId: string;
          volume: number;
      }

    Returns void

  • Type Parameters

    • EventName extends keyof EventTypes

    Parameters

    • type: EventName
    • listener: ((ev) => void)
        • (ev): void
        • Parameters

          Returns void

    • Optional options: boolean | EventListenerOptions

    Returns void

  • Parameters

    • globalVolume: number

    Returns void

  • Parameters

    • parentElement: HTMLElement

    Returns void

  • Parameters

    • __namedParameters: {
          volume: number;
      }
      • volume: number

    Returns void

  • Parameters

    • newPaths: {
          [path: string]: Media;
      }
      • [path: string]: Media

    Returns void

  • Parameters

    • path: string
    • update: ((player) => null | InternalClipPlayer)
        • (player): null | InternalClipPlayer
        • Parameters

          • player: InternalClipPlayer

          Returns null | InternalClipPlayer

    Returns void

Generated using TypeDoc