JavaScript video editor, encoder, switcher - version 5.1.1

Mash

addClipToTrack

  • addClipToTrack(clip: Clip | Clips, trackIndex?: number, insertIndex?: number, frame?: number): void
  • this.time -> this.endTime in time's fps

    Parameters

    • clip: Clip | Clips
    • Optional trackIndex: number
    • Optional insertIndex: number
    • Optional frame: number

    Returns void

addProperties

  • addProperties(object: any, ...properties: Property[]): void
  • Parameters

    • object: any
    • Rest ...properties: Property[]

    Returns void

addTrack

buffer

buffer: number

changeTiming

  • changeTiming(propertied: Propertied, property: string, value: number): void
  • Parameters

    • propertied: Propertied
    • property: string
    • value: number

    Returns void

clearPreview

  • clearPreview(): void
  • Returns void

clips

clips: Clip[]

clipsInTimeOfType

color

color: string

composition

composition: AudioPreview

createdAt

createdAt: string

definitionIds

definitionIds: string[]

destroy

  • destroy(): void
  • Returns void

draw

  • draw(): void
  • Returns void

drawnTime

drawnTime?: Time

duration

duration: number

editedGraphFiles

editor

editor: Editor

emitter

emitter: Emitter

endTime

endTime: Time

filterGraphs

frame

frame: number

frames

frames: number

gain

gain: number

icon

icon: string

id

id: string

imageSize

imageSize: Size

label

label: string

layer

layer: LayerMash

loadPromise

loading

loading: boolean

loop

loop: boolean

mashes

mashes: Mash[]

paused

paused: boolean

preloader

preloader: Loader

previewItems

properties

properties: Property[]

putPromise

  • putPromise(): Promise<void>
  • Returns Promise<void>

quantize

quantize: number

reload

  • reload(): undefined | Promise<void>
  • Returns undefined | Promise<void>

removeClipFromTrack

  • removeClipFromTrack(clip: Clip | Clips): void

removeTrack

  • removeTrack(index?: number): void
  • Parameter

    Optional index: number

    Returns void

rendering

rendering: string

seekToTime

  • seekToTime(time: Time): undefined | Promise<void>
  • Parameter

    time: Time

    Returns undefined | Promise<void>

selectType

selectType: SelectType

selectables

selectedItems

setValue

  • Parameters

    Returns void

setValues

time

time: Time

timeRange

timeRange: TimeRange

toJSON

tracks

tracks: Track[]

value

  • Parameter

    key: string

    Returns Scalar