Thomas Steiner (@tomayac)

Now at @tomayac@toot.cafe

The below is an off-site archive of all tweets posted by @tomayac ever

May 15th, 2020

RT @ChromiumDev: 🎬 More people should be aware of the new `requestVideoFrameCallback()` API. Read @tomayac’s post to learn more about it.…

via Twitter Web App

@trappology As the spec states (https://t.co/0RAFWmTV9b.), it’s an estimation. Different user agents (browsers) may use different heuristics.

via Twitter Web App

@trappology For this use case, `canplaythrough` (https://t.co/m1JRWXng4E) is the event you should be listening for. If you’re more of a lazyloading kind of site (or if you don’t preload videos in general or for `Save-Data: 1` folk), then maybe use `loaded

via Twitter Web App

@trappology Use cases are outlined in the Explainer: https://t.co/8ZKt95tlOs.

via Twitter Web App

🔢 New blog post: The `requestVideoFrameCallback` API.

https://t.co/5rmQmUKMb6

The `requestVideoFrameCallback()` method allows developers to register a callback that runs in the rendering steps when a new video frame 🎞 is sent to the compositor.

via Twitter Web App