You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature description
Activate and optimize the pre-built framing/letterbox overlay helper inside the VideoPreview component to display a dashed crop boundary in Fill mode or letterbox bars in Fit mode, giving users real-time visual feedback on which portions of their video will be cropped or padded before export.
Problem this solves
When users select different aspect ratios (e.g. 9:16 Vertical, 1:1 Square, 16:9 Landscape) and switch between framing methods, there is no real-time visual feedback on the main player — forcing users to guess which parts of their video are being clipped before export.
The visual framing logic is fully built but dormant because the recipe state prop is never passed inside src/components/VideoEditor.tsx (Line 133):
<VideoPreviewfile={file}videoRef={videoRef}/>
This keeps the "Show Overlay" toggle and all calculation handlers hidden. The button's bottom-right placement also causes a layout collision with native browser video controls.
Proposed solution
Pass the recipe prop in src/components/VideoEditor.tsx Line 133:
Reposition the Show Overlay / Hide Overlay toggle button from bottom-right to top-left of the video player card to avoid conflict with native HTML5 playback controls.
Alternatives considered
Leaving the overlay hidden — Rejected. Users export blind without knowing if content is being cropped.
Building a custom overlay from scratch — Rejected. The logic already exists inside VideoPreview and only needs to be activated and repositioned.
Additional context
The fix requires only one prop addition and one CSS class change — no new dependencies or architectural changes needed. This significantly improves UX for users working with non-standard aspect ratios.
Feature description
Activate and optimize the pre-built framing/letterbox overlay helper inside the
VideoPreviewcomponent to display a dashed crop boundary inFillmode or letterbox bars inFitmode, giving users real-time visual feedback on which portions of their video will be cropped or padded before export.Problem this solves
When users select different aspect ratios (e.g. 9:16 Vertical, 1:1 Square, 16:9 Landscape) and switch between framing methods, there is no real-time visual feedback on the main player — forcing users to guess which parts of their video are being clipped before export.
The visual framing logic is fully built but dormant because the
recipestate prop is never passed insidesrc/components/VideoEditor.tsx(Line 133):This keeps the "Show Overlay" toggle and all calculation handlers hidden. The button's bottom-right placement also causes a layout collision with native browser video controls.
Proposed solution
recipeprop insrc/components/VideoEditor.tsxLine 133:Show Overlay / Hide Overlaytoggle button from bottom-right to top-left of the video player card to avoid conflict with native HTML5 playback controls.Alternatives considered
VideoPreviewand only needs to be activated and repositioned.Additional context
The fix requires only one prop addition and one CSS class change — no new dependencies or architectural changes needed. This significantly improves UX for users working with non-standard aspect ratios.
Screen.Recording.2026-05-19.135555.mp4