fix(design): connect video preparation and playable history

This commit is contained in:
brother7 committed 2026-09-16 15:42:39 +08:00
1 parent 4321c77613
commit 1acca836fe
21 files changed
+900 -115

No files matched your search

@@ -8,10 +8,12 @@ export function DesignAssetThumbnail({
asset,
className,
alt,
controls = false,
}: {
asset: DesignAsset | null;
className?: string;
alt?: string;
controls?: boolean;
}) {
const [resolution, setResolution] = useState<{
contentPath: string | null;
@@ -61,6 +63,8 @@ export function DesignAssetThumbnail({
aria-label={alt ?? '视频作品预览'}
muted
preload="metadata"
controls={controls}
playsInline
/>
);
}