W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] HTML5 video: frame accuracy / SMPTE

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 13 Jan 2011 13:04:46 +1300
Message-ID: <AANLkTi=-TAkr7tGRWzAXxkBZJMyxaJq-7urpVX+-Eciz@mail.gmail.com>
On Wed, Jan 12, 2011 at 9:42 PM, Philip J?genstedt <philipj at opera.com>wrote:

> For the record, this is the solution I've been imagining:
>
> * add HTMLMediaElement.seek(t, [exact]), where exact defaults to false if
> missing
>
> * make setting HTMLMediaElement.currentTime be a non-exact seek, as that
> seems to be the most common case


I think setting currentTime should be exact, since a) exact seeking is
simpler from the author's point of view and b) it would be unfortunate to
set currentTime to value T and then discover that getting currentTime gives
you a value other than T (assuming you're paused).

Rob
-- 
"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Wednesday, 12 January 2011 16:04:46 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC