Create polished demo videos without editing skills. Mac/Windows/Linux
fix(build): remove background transparency references
webadderall5f7e47279dde
diff --git a/src/components/video-editor/VideoPlayback.tsx b/src/components/video-editor/VideoPlayback.tsxindex 6b2e40a9..6c5b7f0d 100644--- a/src/components/video-editor/VideoPlayback.tsx+++ b/src/components/video-editor/VideoPlayback.tsx@@ -1043,7 +1043,7 @@ const VideoPlayback = forwardRef<VideoPlaybackRef, VideoPlaybackProps>(({return (<div className="relative rounded-sm overflow-hidden" style={{ width: '100%', aspectRatio: formatAspectRatioForCSS(aspectRatio, nativeAspectRatio) }}>- {/* Background layer - always render as DOM element with blur */}+ {/* Background layer */}<divclassName="absolute inset-0 bg-cover bg-center"style={{diff --git a/src/components/video-editor/projectPersistence.ts b/src/components/video-editor/projectPersistence.tsindex 2eebea86..81309d84 100644--- a/src/components/video-editor/projectPersistence.ts+++ b/src/components/video-editor/projectPersistence.ts@@ -25,7 +25,6 @@ export const PROJECT_VERSION = 1;export interface ProjectEditorState {wallpaper: string;- backgroundTransparency: boolean;shadowIntensity: number;backgroundBlur: number;zoomMotionBlur: number;@@ -260,9 +259,6 @@ export function normalizeProjectEditor(editor: Partial<ProjectEditorState>): Proreturn {wallpaper: typeof editor.wallpaper === "string" ? editor.wallpaper : WALLPAPER_PATHS[0],- backgroundTransparency: typeof (editor as Partial<ProjectEditorState>).backgroundTransparency === "boolean"- ? (editor as Partial<ProjectEditorState>).backgroundTransparency as boolean- : false,shadowIntensity: typeof editor.shadowIntensity === "number" ? editor.shadowIntensity : 0.67,backgroundBlur: normalizedBackgroundBlur,zoomMotionBlur: normalizedZoomMotionBlur,diff --git a/src/lib/exporter/videoExporter.ts b/src/lib/exporter/videoExporter.tsindex 110e7503..681df698 100644--- a/src/lib/exporter/videoExporter.ts+++ b/src/lib/exporter/videoExporter.ts@@ -8,7 +8,6 @@ import type { ZoomRegion, CropRegion, TrimRegion, AnnotationRegion, SpeedRegion,interface VideoExporterConfig extends ExportConfig {videoUrl: string;wallpaper: string;- backgroundTransparency?: boolean;zoomRegions: ZoomRegion[];trimRegions?: TrimRegion[];speedRegions?: SpeedRegion[];@@ -68,7 +67,6 @@ export class VideoExporter {width: this.config.width,height: this.config.height,wallpaper: this.config.wallpaper,- backgroundTransparency: this.config.backgroundTransparency,zoomRegions: this.config.zoomRegions,showShadow: this.config.showShadow,shadowIntensity: this.config.shadowIntensity,