Re: [csswg-drafts] [web-animations-1] Make updating the playback rate asynchronous

Discussed with @shans and @dstockwell at BlinkOn on Sep 20. Adding `updatePlaybackRate()` and making `playbackRate` synchronous seems straightforward.

The question that remains is whether we can drop the compensatory seek from setting `playbackRate`. The strongest motivation for doing that would be that if *both* `updatePlaybackRate()` and `playbackRate` do a compensatory seek, then some authors will erroneously use `playbackRate` when they want `updatePlaybackRate()` and the user may get a sub-optimal experience on a resource-constrained device. If `playbackRate` doesn't do the seek there's no potential for confusion.

We discussed adding a use counter for content that sets `playbackRate` such that the startTime actually changes (so that we ignore, for example, setting the `playbackRate` before playback has begun, or setting `playbackRate` to 1, etc.).

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

Received on Tuesday, 5 December 2017 04:40:35 UTC