Fix video resize handle drifting off-screen
The resize observer was persisting any rendered size change, including incidental reflow from the page's own responsive max-width clamping on window/viewport resize - not just deliberate corner-handle drags. This let the stored size drift into a badly non-16:9 box over repeated views on different window sizes, pushing the actual resize grip far below the fold. Now only persists while the user has mousedown on the video, and caps rendered height at 80vh as a backstop against already-drifted values. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in: