JavaScript video editor, encoder, and streamer - version 5.0.6

Mash

addClipToTrack

  • addClipToTrack(clip: Clip, trackIndex?: number, insertIndex?: number, frame?: number): void
  • Parameters

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

    Returns void

addTrack

backcolor

backcolor: string

buffer

buffer: number

changeClipFrames

  • changeClipFrames(clip: Clip, value: number): void
  • Parameters

    • clip: Clip
    • value: number

    Returns void

changeClipTrimAndFrames

  • changeClipTrimAndFrames(clip: Audible, value: number, frames: number): void
  • Parameters

    • clip: Audible
    • value: number
    • frames: number

    Returns void

clipTrack

clips

clips: Clips

clipsInTimeOfType

composition

composition: Composition

contents

createdAt

createdAt: string

definitions

definitions: Definition[]

destroy

  • destroy(): void
  • Returns void

draw

  • draw(): void
  • Returns void

drawnTime

drawnTime?: Time

duration

duration: number

emitter

emitter?: Emitter

endTime

endTime: Time

filterGraphs

frame

frame: number

frames

frames: number

gain

gain: number

graphFiles

handleAction

  • handleAction(action: Action): void
  • Parameter

    action: Action

    Returns void

icon

icon?: string

id

id: string

imageData

imageSize

imageSize: Size

label

label: string

loadPromise

loop

loop: boolean

paused

paused: boolean

preloader

preloader: Preloader

quantize

quantize: number

removeClipFromTrack

  • removeClipFromTrack(clip: Clip): void
  • Parameter

    clip: Clip

    Returns void

removeTrack

rendering

rendering: string

seekToTime

time

time: Time

timeRange

timeRange: TimeRange

this.time -> this.endTime in time's fps

toJSON

trackCount

  • Parameter

    Optional type: TrackType

    Returns number

trackOfTypeAtIndex

tracks

tracks: Track[]