<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fusia Studio]]></title><description><![CDATA[Engineering and product notes from Fusia Studio, building small ad-free web apps (Proofcut, Resonia, Veranda, and FileSwift).]]></description><link>https://fusiastudio.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6b089be90c85dbb280bf4521/04e0c9ef-19bb-4d3a-a118-2e2e18d25e2e.png</url><title>Fusia Studio</title><link>https://fusiastudio.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:30:39 GMT</lastBuildDate><atom:link href="https://fusiastudio.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How I built frame-accurate browser video review without client logins]]></title><description><![CDATA[How I built Proofcut: normalized HTML5 canvas drawing, SMPTE frame stepping, mobile touch scrubbing, and Premiere/Resolve NLE marker exports.]]></description><link>https://fusiastudio.hashnode.dev/how-i-built-frame-accurate-browser-video-review-without-client-logins</link><guid isPermaLink="true">https://fusiastudio.hashnode.dev/how-i-built-frame-accurate-browser-video-review-without-client-logins</guid><category><![CDATA[webdev]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[video]]></category><category><![CDATA[cloudflare]]></category><category><![CDATA[showdev]]></category><dc:creator><![CDATA[Aiga - Fusia Studio]]></dc:creator><pubDate>Tue, 01 Dec 2026 12:05:41 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6b089be90c85dbb280bf4521/64a989b3-b48c-406e-82f6-abb7d850c907.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Every freelance video editor I know has lived through the same painful loop. You export a rough cut, upload it to Google Drive, send the link over WhatsApp, and get back a text like:</p>
<blockquote>
<p>"Around 1:32 can you move the text slightly left and brighten the shot?"</p>
</blockquote>
<p>Then you spend 20 minutes scrubbing back and forth across your timeline trying to guess which exact frame they meant.</p>
<p>Existing review tools solve this well, but most charge $15 to $25 per seat every month and push clients through invite emails or account sign-up screens just to leave five notes. When I started building <a href="https://proofcut.app">Proofcut</a> at <a href="https://fusiastudio.com">Fusia Studio</a>, I set two strict product rules from day one:</p>
<ol>
<li>Clients should open one link and start marking exact frames in two seconds with zero login.</li>
<li>Client drawings and timestamps must work just as reliably on a phone as on a 27-inch editing monitor.</li>
</ol>
<p>Here are the four browser engineering details that turned out to matter most.</p>
<h3>1. Store canvas drawings as normalized coordinates, never raw pixels</h3>
<p>If a client opens a review link on an iPhone and draws an arrow pointing at a logo, storing raw pixel coordinates like <code>(x: 184, y: 92)</code> breaks immediately when the editor opens that same comment on a 4K desktop monitor. Even letterboxing (black bars when a vertical 9:16 video plays inside a 16:9 container) will shift every drawing off target if you measure against the outer wrapper instead of the actual rendered video rect.</p>
<p>The clean fix is computing the rendered video rectangle inside the <code>&lt;video&gt;</code> element and normalizing every point to <code>0.0 .. 1.0</code>:</p>
<pre><code class="language-ts">export interface NormalizedPoint {
  x: number; // 0.0 to 1.0 relative to actual rendered video width
  y: number; // 0.0 to 1.0 relative to actual rendered video height
}

export function toNormalizedPoint(
  clientX: number,
  clientY: number,
  videoRect: DOMRect
): NormalizedPoint {
  const x = (clientX - videoRect.left) / videoRect.width;
  const y = (clientY - videoRect.top) / videoRect.height;

  return {
    x: Math.max(0, Math.min(1, Number(x.toFixed(5)))),
    y: Math.max(0, Math.min(1, Number(y.toFixed(5)))),
  };
}
</code></pre>
<p>When rendering the vector overlay back on any screen size, you simply multiply <code>x * renderedWidth</code> and <code>y * renderedHeight</code>. Every arrow, box, and freehand stroke stays locked to the exact pixel on the video frame across desktop, tablet, and mobile.</p>
<h3>2. Frame stepping and SMPTE timecodes in HTML5 video</h3>
<p>HTML5 <code>&lt;video&gt;</code> works in floating-point seconds (<code>video.currentTime</code>), not frame numbers. Video editors think in SMPTE timecodes (<code>HH:MM:SS:FF</code>) at 24, 25, 30, or 60 fps.</p>
<p>A subtle trap when stepping backward or forward by one frame is floating-point drift (for example, <code>currentTime += 1 / 24</code> can land slightly shy of the frame boundary and fail to repaint the frame in Chrome or Safari). Adding a tiny epsilon nudge when snapping to frame indices keeps frame-by-frame stepping crisp:</p>
<pre><code class="language-ts">export function stepFrame(currentTime: number, deltaFrames: number, fps = 24): number {
  const currentFrame = Math.round(currentTime * fps);
  const nextFrame = Math.max(0, currentFrame + deltaFrames);
  // Small epsilon avoids landing just before the decoder frame boundary
  return nextFrame / fps + 0.0001;
}
</code></pre>
<p>We also added multi-second <code>IN -&gt; OUT</code> range markers, because many real notes are not single frames (like "trim this whole 4-second pause" or "audio dips here").</p>
<h3>3. Mobile touch scrubbing without fighting the browser</h3>
<p>Clients rarely review rough cuts at a desk. Half the time they open the link on their phone in a taxi.</p>
<p>Standard mouse drag handlers break badly on mobile browsers because vertical scrolling, pull-to-refresh, and pinch-zoom hijack the gesture. Using Pointer Events with <code>setPointerCapture</code> plus <code>touch-action: none</code> on the scrubber and drawing canvas solved almost every mobile glitch, along with bumping hit targets to 44px so thumbs can actually grab timeline pins.</p>
<h3>4. Exporting notes straight into editing software</h3>
<p>Collecting notes in a browser only solves half the problem. If the editor still has to alt-tab between Chrome and Premiere Pro copying 25 timestamps by hand, the tool has not saved enough time.</p>
<p>Every comment and range marker in Proofcut exports directly to standard plain-text formats that editing software already imports natively:</p>
<ul>
<li>Premiere Pro marker CSV</li>
<li>DaVinci Resolve CMX 3600 EDL</li>
<li>Final Cut Pro FCPXML</li>
</ul>
<p>None of those require a heavy desktop plugin or per-seat license, because they are just clean structured text files generated on the fly.</p>
<h3>Try the live room without signing up</h3>
<p>If you want to poke at the HTML5 player, frame stepping, vector drawing, or split-screen version wiper yourself, there is a public demo room with zero login required:</p>
<p><a href="https://proofcut.app/review/cyberpunk-v2-review">Try the live Proofcut demo room</a></p>
<p>And if you are curious about the other small ad-free web tools I am building, they all live over at <a href="https://fusiastudio.com">fusiastudio.com</a>.</p>
<p>Happy to answer any questions about HTML5 video quirks, canvas scaling, or NLE marker formats in the comments.</p>
]]></content:encoded></item></channel></rss>