diff --git a/frontend-tools/video-editor/client/src/main.tsx b/frontend-tools/video-editor/client/src/main.tsx index 044e1cd2..12e0de9a 100644 --- a/frontend-tools/video-editor/client/src/main.tsx +++ b/frontend-tools/video-editor/client/src/main.tsx @@ -5,7 +5,8 @@ import "./index.css"; if (typeof window !== "undefined") { window.MEDIA_DATA = { videoUrl: "", - mediaId: "" + mediaId: "", + posterUrl: "" }; window.lastSeekedPosition = 0; } @@ -15,6 +16,7 @@ declare global { MEDIA_DATA: { videoUrl: string; mediaId: string; + posterUrl?: string; }; seekToFunction?: (time: number) => void; lastSeekedPosition: number;