Re: [media-and-entertainment] Frame accurate seeking of HTML5 MediaElement (#4)

This would be really cool to have guarantees on how to reach a special frame. For instance, I was thinking that:
```
this.video.currentTime = (frame / this.framerate) + 0.00001;
```
was always reaching the accurate frame... But it turns out it's not! (at least not using Chromium 95.0) Sometimes, I need a larger value for the additional term, like at least on one frame, I needed to do:
```
this.video.currentTime = (frame / this.framerate) + 0.001;
```
(this appear to fail for me when trying to reach for instance the frame 1949 of a 24fps video) similarly, reading out the current time 

-- 
GitHub Notification of comment by tobiasBora
Please view or discuss this issue at https://github.com/w3c/media-and-entertainment/issues/4#issuecomment-1078555838 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 25 March 2022 01:07:58 UTC