w3c / w3c/csswg-drafts

[web-animations-2][css-animations-2] Allow controlling video playback via an animation timeline

Open
#11,611 13 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-animations-2 web-animations-2
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Similar to #9110, authors often want the ability to drive videos by animation timelines. See #11587 and https://github.com/w3c/csswg-drafts/issues/6861#issuecomment-2435020274.

We'll need to figure out the details, but this could be something like

document.querySelector('#my-video').timeline = new ViewTimeline(...);

Possibly also with css support, e.g.:

#my-video {
  video-timeline: view();
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the related issues #9110, #11587, and CSSWG issue #6861, including its linked comment. Determine the intended JavaScript and CSS mechanisms for connecting video playback to an animation timeline, then document the resolved behavior and specification changes needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.