Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CutlistService

Hierarchy

  • any
    • CutlistService

Index

Constructors

Accessors

Methods

Constructors

constructor

  • Parameters

    • slaves: HTMLVideoElement[]
    • eventCallback: function
        • <T>(event: T): void
        • Type parameters

          Parameters

          • event: T

          Returns void

    • _internalEventBus: EventMixin
    • settings: PlayerSettings

    Returns CutlistService

Accessors

preview

  • get preview(): boolean
  • set preview(preview: boolean): void
  • Get current preview state.

    Returns boolean

  • Set if preview should be shown. Preview cutlist should be loaded with loadCutlist. The original to be shown if not previewing should be set with loadVideoFile

    Parameters

    • preview: boolean

      If player should preview cutlist.

    Returns void

Methods

destroy

  • destroy(): void
  • Returns void

loadCutList

  • loadCutList(cutList: Cut[]): void
  • Load a cut list. This will be shown when preview set to true.

    Parameters

    • cutList: Cut[]

      Cutlist to be loaded.

    Returns void

togglePreview

  • togglePreview(): void
  • Toggle preview mode. Preview cutlist should be loaded with loadCutlist. The original to be shown if not previewing should be set with loadVideoFile

    Returns void