Re: [csswg-drafts] Control and coordinate video playback state with css (#11587)

> We are manually syncing the video.currentTime with scroll-timelines when we need to sync videos to scroll, so video-timeline would be really nice.

This is basically the current method: https://codepen.io/ydaniv/pen/VwNraKB?editors=0010, just for reference.

>  It would hopefully allow the browser to buffer enough video to make the scrubbing performant as well.

It's not so much about buffering, like in the example above, I think it's more about how you compress your video in terms of I, B, and P frames, so that when the browser seeks between frames it appears to be smooth.
Perhaps if this was done internally the browser could also help there, instead of trying to blindly navigate between frames using `currentTime`.

-- 
GitHub Notification of comment by ydaniv
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11587#issuecomment-2624946111 using your GitHub account


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

Received on Thursday, 30 January 2025 16:17:45 UTC