perf(canvas): 画布媒体 - 优化媒体加载、播放器与节点交互 (#357)
Merge origin/main at fb089b2 and retain canvas media performance, player layout, and interaction updates.
Co-authored-by: ddCat <2695092045@qq.com>
This commit is contained in:
@@ -194,6 +194,14 @@ export type CanvasNodeMetadata = {
|
||||
};
|
||||
content?: string;
|
||||
previewContent?: string;
|
||||
videoPreview?: {
|
||||
content: string;
|
||||
storageKey?: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
bytes?: number;
|
||||
mimeType?: string;
|
||||
};
|
||||
richText?: Record<string, unknown>;
|
||||
composerContent?: string;
|
||||
prompt?: string;
|
||||
@@ -244,6 +252,8 @@ export type CanvasNodeMetadata = {
|
||||
mimeType?: string;
|
||||
bytes?: number;
|
||||
durationMs?: number;
|
||||
/** Whether the video file contains an audio track when this is known. */
|
||||
hasAudio?: boolean;
|
||||
assetId?: string;
|
||||
assetTags?: string[];
|
||||
assetCategory?: "character" | "environment" | "wardrobe" | "prop" | "weapon" | "style" | "other";
|
||||
|
||||
Reference in New Issue
Block a user