fix: remove invalid image type check

This commit is contained in:
Clawdberg
2026-02-06 17:24:42 +00:00
parent a031e80053
commit 998cf45c1b

View File

@@ -165,8 +165,8 @@ export function getBackgroundUrl(visuals: VideoTemplate['visuals']): string | un
// Use first source from video sources
return visuals.background.sources?.[0]
}
if (visuals.background.type === 'image') {
// Use color for static images (placeholder)
// Use color for static backgrounds
if (visuals.background.color) {
return visuals.background.color
}
return undefined