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.