mcut
@mcut/timeline

ProjectMediaAssetContext

Generated TypeScript API reference for the public mcut SDK.

mcut SDK


mcut SDK / timeline/src / ProjectMediaAssetContext

Interface: ProjectMediaAssetContext

Defined in: packages/timeline/src/project-context.ts:88

Extends

Properties

durationMs?

optional durationMs?: number;

Defined in: packages/timeline/src/model.ts:387

Inherited from

Omit.durationMs

hash?

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.hash

height?

optional height?: number;

Defined in: packages/timeline/src/model.ts:389

Inherited from

Omit.height

id

id: `a-${string}` = assetIdSchema;

Defined in: packages/timeline/src/model.ts:368

Inherited from

Omit.id

kind

kind: "video" | "audio" | "image";

Defined in: packages/timeline/src/model.ts:369

Inherited from

Omit.kind

mimeType?

optional mimeType?: string;

Defined in: packages/timeline/src/model.ts:380

Inherited from

Omit.mimeType

name?

optional name?: string;

Defined in: packages/timeline/src/model.ts:379

Inherited from

Omit.name

nativePreview?

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.nativePreview

usedBy

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

On this page