@rendley/sdk - v1.15.19
    Preparing search index...

    Interface ReplaceMediaOptions

    Options that control how media replacement should update dependent clips.

    interface ReplaceMediaOptions {
        imageFitStyle?: FitStyleEnum;
        mimeType?: string;
        previousMediaHeight?: number;
        previousMediaWidth?: number;
        toCropImage?: boolean;
        usePreviousMediaSize?: boolean;
    }
    Index

    Properties

    imageFitStyle?: FitStyleEnum
    mimeType?: string
    previousMediaHeight?: number
    previousMediaWidth?: number
    toCropImage?: boolean
    usePreviousMediaSize?: boolean

    When true, the fit math derives the old media size from previousMediaWidth/previousMediaHeight instead of the clip's current style. Required when the clip already initialized against the new media (post-deserialization autofit), where the style no longer reflects the old media.