JavaScript video editor, encoder, and streamer - version 5.0.6

Track

addClip

  • addClip(clip: Clip, insertIndex?: number): void
  • Parameters

    • clip: Clip
    • Optional insertIndex: number

    Returns void

assureFrame

  • assureFrame(clips?: Clips): boolean
  • Parameter

    Optional clips: Clips

    Returns boolean

assureFrames

  • assureFrames(quantize: number, clips?: Clips): boolean
  • Parameters

    • quantize: number
    • Optional clips: Clips

    Returns boolean

clips

clips: Clips

dense

dense: boolean

frameForClipNearFrame

  • frameForClipNearFrame(clip: Clip, frame?: number): number
  • Parameters

    • clip: Clip
    • Optional frame: number

    Returns number

frames

frames: number

layer

layer: number

properties

properties: Property[]

property

  • property(key: string): undefined | Property
  • Parameter

    key: string

    Returns undefined | Property

removeClip

  • removeClip(clip: Clip): void
  • Parameter

    clip: Clip

    Returns void

setValue

sortClips

  • sortClips(clips?: Clips): boolean
  • Parameter

    Optional clips: Clips

    Returns boolean

trackType

trackType: TrackType

value