[whatwg] Some media element details
matt.bonner at hp.com
Thu Oct 16 10:24:42 PDT 2008
Ian Hickson wrote:
> On Mon, 6 Oct 2008, Bonner, Matt wrote:
>> the original proposal said:
>>>>>>>> "var playing = !video.paused &&
>>>>>>>> !video.ended && video.readyState >= HTMLMediaElement.CAN_PLAY"
>> you appear to be proposing:
>>> var playing = !video.paused && video.readyState >=
>> which only leaves the "video.ended" state in question.
> It's redundant -- the readyState can never be HAVE_FUTURE if there is
> no future (as is the case if the playback has ended).
Okay, makes sense.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4798 bytes
Desc: not available
More information about the whatwg