[whatwg] Some media element details
Bonner, Matt
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 >=
>>> HTMLMediaElement.CAN_PLAY
>>
>> 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.
thanks,
Matt
--
Matt Bonner
Hewlett-Packard Company
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4798 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20081016/61bcc8e8/attachment.bin>
More information about the whatwg
mailing list