requestVideoFrameCallback()
Newly available since 2024-10-29
The requestVideoFrameCallback()
method for <video>
schedules a function that runs with the next video frame. It is similar to requestAnimationFrame()
, but for video.
Learning resources on MDN
- HTMLVideoElement: cancelVideoFrameCallback() method
- HTMLVideoElement: requestVideoFrameCallback() method
Browser support
- Chrome 83 Released on 2020-05-19
- Chrome Android 83 Released on 2020-05-19
- Edge 83 Released on 2020-05-21
- Firefox 132 Released on 2024-10-29
- Firefox for Android 132 Released on 2024-10-29
- Safari 15.4 Released on 2022-03-14
- Safari on iOS 15.4 Released on 2022-03-14
Specifications
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature