Standalone same-origin pages do not reproduce this bug because the trigger depends on CodePen's actual cross-origin result iframe and its permission policy. This sampler embeds the real CodePen pen and lets you shrink that iframe with a slider.
840px, the demo inside the iframe stops animating. Sliding back above the threshold resumes it.Likely cause: when the iframe viewport shrinks enough, the 1280px absolute child layout pushes the hidden <video> element mostly outside the iframe viewport. Combined with the cross-origin embed and its permission policy, the media element gets treated as frame-hidden and playback is paused. The canvas drawImage(video) loop keeps running but the underlying frames stop updating.
The Chromium-side fix being explored: in WebMediaPlayerImpl::ShouldPausePlaybackWhenHidden(), exempt videos that are actively being consumed (IsVideoBeingCaptured()) from the frame-hidden pause path. That includes canvas drawImage readback within the last 5 seconds.