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

> @ydaniv I don't think hijacking this issue for VideoTimeline is a good idea.

Right, for sure. My intent was mostly to try and suggest adopting a more direct and rich interface for controlling the playback by using something like the `animation-trigger` API.
Though I agree using this via an animation is a nice and quick solution, it's a bit indirect and limited.
What if we could have a `once` playback type, besides `play`/`pause`? I can also see `repeat` being used, and even `alternate` in more obscure use-cases.
But mostly if we can have the timeline and ranges used directly for controlling playback and not have to use an animation in the middle.

> It has come up on multiple issues and deserves its own issue for discussion, I've opened https://github.com/w3c/csswg-drafts/issues/11611 for this.

That's exciting! Thanks for opening.

-- 
GitHub Notification of comment by ydaniv
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11587#issuecomment-2625076197 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 17:06:17 UTC