ProjectMediaAssetContext
Generated TypeScript API reference for the public mcut SDK.
mcut SDK / timeline/src / ProjectMediaAssetContext
Interface: ProjectMediaAssetContext
Defined in: packages/timeline/src/project-context.ts:88
Extends
Omit<AssetRef,"src">
Properties
durationMs?
optional durationMs?: number;Defined in: packages/timeline/src/model.ts:387
Inherited from
Omit.durationMshash?
optional hash?: string;Defined in: packages/timeline/src/model.ts:378
Content hash of the media file (stable identity across reloads/moves).
Inherited from
Omit.hashheight?
optional height?: number;Defined in: packages/timeline/src/model.ts:389
Inherited from
Omit.heightid
id: `a-${string}` = assetIdSchema;Defined in: packages/timeline/src/model.ts:368
Inherited from
Omit.idkind
kind: "video" | "audio" | "image";Defined in: packages/timeline/src/model.ts:369
Inherited from
Omit.kindmimeType?
optional mimeType?: string;Defined in: packages/timeline/src/model.ts:380
Inherited from
Omit.mimeTypename?
optional name?: string;Defined in: packages/timeline/src/model.ts:379
Inherited from
Omit.namenativePreview?
optional nativePreview?: boolean;Defined in: packages/timeline/src/model.ts:386
True when the browser's native media elements can preview this asset. Containers such as Matroska may import/export through Mediabunny while still needing decoded-frame fallback for interactive canvas preview.
Inherited from
Omit.nativePreviewusedBy
usedBy: string[];Defined in: packages/timeline/src/project-context.ts:90
width?
optional width?: number;Defined in: packages/timeline/src/model.ts:388
Inherited from
Omit.width