[whatwg] HTML5 video: frame accuracy / SMPTE

Aryeh Gregor Simetrical+w3c at gmail.com
Wed Jan 12 16:03:03 PST 2011


On Wed, Jan 12, 2011 at 3:42 AM, Philip Jägenstedt <philipj at opera.com> wrote:
> * add HTMLMediaElement.seek(t, [exact]), where exact defaults to false if
> missing

Boolean parameters are evil, since it's impossible to guess what they
do from reading the code.  Make it a two-value enum instead.  The
second argument could be extended to a bitfield later if desired, too.



More information about the whatwg mailing list