Using the Screen Capture API to record a browser window: https://alexwlchan.net/2026/record-browser-video/

In which web tech continues to be amazing, and I use it to record a fun animation (with audio!) from the Lego website.

Using the Screen Capture API to record a browser window

When I saw a cool animation, I used the browser's native screen capture API to get a high-quality screen recording, audio included.

@alex They literally announced that they're adding system audio capture to macOS 27 yesterday 😭 https://mastodon.social/@stroughtonsmith/116720600422792108