JavaScript video editor, encoder, switcher - version 5.1.1

EditorClass

_editType

_editType?: EditType

_selection

_selection?: EditorSelection

actions

actions: Actions

add

addClip

addEffect

  • addEffect(effect: Effect, insertIndex?: number): Promise<void>
  • Parameters

    • effect: Effect
    • Optional insertIndex: number

    Returns Promise<void>

addFiles

addFolder

  • Parameters

    Returns void

addMash

addTrack

  • addTrack(): void
  • Returns void

autoplay

autoplay: boolean

buffer

  • get buffer(): number
  • set buffer(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void

can

clips

constructor

create

  • create(): void
  • Returns void

currentTime

  • get currentTime(): number
  • Returns number

dataPutRequest

define

definitions

definitionsUnsaved

dragging

dragging: boolean

duration

  • get duration(): number
  • Returns number

editType

edited

  • get edited(): undefined | Edited

editedData

editedData?: EditedData

editing

editing: boolean

editingCast

  • get editingCast(): boolean
  • Returns boolean

eventTarget

eventTarget: Emitter

fps

  • get fps(): number
  • set fps(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void

frame

  • get frame(): number
  • set frame(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void

frames

  • get frames(): number
  • Returns number

goToTime

  • goToTime(value?: Time): Promise<void>
  • Parameter

    Optional value: Time

    Returns Promise<void>

handleAction

  • handleAction(action: Action): void
  • Parameter

    action: Action

    Returns void

load

loop

  • get loop(): boolean
  • set loop(value: boolean): void
  • Returns boolean

  • Parameter

    value: boolean

    Returns void

move

moveClip

moveEffect

  • moveEffect(effect: Effect, index?: number): void
  • Parameters

    • effect: Effect
    • Optional index: number

    Returns void

moveLayer

moveTrack

  • moveTrack(): void
  • Returns void

muted

  • get muted(): boolean
  • set muted(value: boolean): void
  • Returns boolean

  • Parameter

    value: boolean

    Returns void

pause

  • pause(): void
  • Returns void

paused

  • get paused(): boolean
  • set paused(value: boolean): void
  • Returns boolean

  • Parameter

    value: boolean

    Returns void

play

  • play(): void
  • Returns void

position

  • get position(): number
  • set position(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void

positionStep

  • get positionStep(): number
  • Returns number

precision

precision: number

preloader

previewItems

  • Parameter

    Optional enabled: boolean

    Returns Promise<PreviewItems>

readOnly

readOnly: boolean

rect

  • get rect(): Rect
  • set rect(value: Rect): void
  • Returns Rect

  • Parameter

    value: Rect

    Returns void

redo

  • redo(): void
  • Returns void

redraw

  • redraw(): void
  • Returns void

removeClip

  • removeClip(clip: Clip): void
  • Parameter

    clip: Clip

    Returns void

removeEffect

  • removeEffect(effect: Effect): void
  • Parameter

    effect: Effect

    Returns void

removeLayer

  • removeLayer(layer: Layer): void
  • Parameter

    layer: Layer

    Returns void

removeTrack

  • removeTrack(track: Track): void
  • Parameter

    track: Track

    Returns void

saved

  • Parameter

    Optional temporaryIdLookup: StringObject

    Returns void

selection

svgElement

  • get svgElement(): SVGSVGElement
  • set svgElement(value: SVGSVGElement): void
  • Returns SVGSVGElement

  • Parameter

    value: SVGSVGElement

    Returns void

time

  • get time(): Time
  • set time(value: Time): void
  • Returns Time

  • Parameter

    value: Time

    Returns void

timeRange

undo

  • undo(): void
  • Returns void

updateDefinition

volume

  • get volume(): number
  • set volume(value: number): void
  • Returns number

  • Parameter

    value: number

    Returns void