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

Actually, I'm hoping I could hijack this proposal a bit and suggest a sort of an upgrade. The proposed usage here is via animations and `view()` timeline. So I'm wondering whether we could actually go all the way here and add something like `video-trigger` and even `video-timeline`?
`video-trigger` could get a qualified [`animation-trigger`](https://github.com/w3c/csswg-drafts/issues/8942) and then we could reuse the whole `type` functionality we have there, including using timeline and ranges directly, without using an extra animation in the middle to glue that together.

Regarding `video-timeline`, that might be a bit of a stretch, perhaps added in a separate issue, but basically using declared timelines for scrubbing a video.

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


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

Received on Wednesday, 29 January 2025 16:50:10 UTC