JavaScript video editor, encoder, and streamer - version 5.0.6

MashClass

_rendering

_rendering: string

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

  • get backcolor(): string
  • set backcolor(value: string): void
  • Returns string

  • Parameter

    value: string

    Returns void

buffer

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

  • Parameter

    value: number

    Returns void

bufferFrames

  • get bufferFrames(): number
  • Returns 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

clearDrawInterval

  • clearDrawInterval(): void
  • Returns void

clipIntersects

  • clipIntersects(clip: Clip, range: Time): boolean
  • Parameters

    Returns boolean

clipTrack

clipTrackAtIndex

  • clipTrackAtIndex(clip: Clip, index?: number): Track
  • Parameters

    • clip: Clip
    • Optional index: number

    Returns Track

clips

clipsInTimeOfType

compositeVisibleRequest

  • compositeVisibleRequest(time: Time): void
  • Parameter

    time: Time

    Returns void

composition

constructor

contents

createdAt

createdAt: string

data

definitions

destroy

  • destroy(): void
  • Returns void

draw

  • draw(): void
  • Returns void

drawnSeconds

drawnSeconds: number

drawnTime

drawnTime?: Time

duration

  • get duration(): number
  • Returns number

emitter

  • get emitter(): undefined | Emitter
  • set emitter(value: undefined | Emitter): void
  • Returns undefined | Emitter

  • Parameter

    value: undefined | Emitter

    Returns void

endTime

filterGraphs

frame

  • get frame(): number
  • Returns number

frames

  • get frames(): number
  • Returns number

gain

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

  • Parameter

    value: number

    Returns void

graphFiles

handleAction

  • handleAction(action: Action): void
  • Parameter

    action: Action

    Returns void

id

  • get id(): string
  • set id(value: string): void
  • Returns string

  • Parameter

    value: string

    Returns void

imageData

imageSize

  • get imageSize(): Size
  • set imageSize(value: Size): void
  • Returns Size

  • Parameter

    value: Size

    Returns void

label

label: string

loadPromise

loop

loop: boolean

paused

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

  • Parameter

    value: boolean

    Returns void

playing

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

  • Parameter

    value: boolean

    Returns void

preloader

quantize

quantize: number

removeClipFromTrack

  • removeClipFromTrack(clip: Clip): void
  • Parameter

    clip: Clip

    Returns void

removeTrack

rendering

  • get rendering(): string
  • set rendering(value: string): void
  • Returns string

  • Parameter

    value: string

    Returns void

seekToTime

setDrawInterval

  • setDrawInterval(): void
  • Returns void

stalled

  • get stalled(): boolean
  • Returns boolean

startAndEnd

  • get startAndEnd(): Time[]

time

timeRange

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

    Returns TimeRange

timeRanges

toJSON

trackCount

  • Parameter

    Optional type: TrackType

    Returns number

trackOfTypeAtIndex

tracks

tracks: Track[]