@mocanvas/editor · constant

videoAssetProps

declare const videoAssetProps: {
    readonly w: Validator<number>;
    readonly h: Validator<number>;
    readonly name: Validator<string>;
    readonly isAnimated: Validator<boolean>;
    readonly mimeType: Validator<string | null>;
    readonly src: Validator<string | null>;
    readonly fileSize: Validator<number | undefined>;
}

The props of a video asset.

Identical to an image's: the difference between the two is what the shape does with the file, not what has to be stored about it.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.