[whatwg] Html 5 video element's poster attribute

Shiv Kumar skumar at exposureroom.com
Mon Sep 20 02:12:58 PDT 2010



What would "reset" mean? Would it mean the cached video stream is disposed
off, would it mean the video's current time goes to zero or where it was
when the page was first loaded. I think reset could mean way too many things
for too many people in various scenarios and will be fraught with UA
implementation nuances.



 <http://exposureroom.com/> http://exposureroom.com


From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Silvia Pfeiffer
Sent: Monday, September 20, 2010 3:58 AM
To: Shiv Kumar
Cc: whatwg at lists.whatwg.org; Chris Pearce
Subject: Re: [whatwg] Html 5 video element's poster attribute


On Mon, Sep 20, 2010 at 1:38 PM, Shiv Kumar <skumar at exposureroom.com> wrote:

>Could a call to video.load() reset this state?

Currently is doesn't affect the poster. But would that be intuitive? I'm
getting the video element to load it's source and so the poster will show?


Ideally poster should be an object (a property of the video element) that
has a source property and a visible property. Or to not break current
implementations. The video element could have a method called
showPoster(bool) or a bool property called postervisible.



http://exposureroom.com <http://exposureroom.com/> 


I regard the load() function as a kind of reset() function. But possibly we
need an actual reset() function to return to the original state where the
poster image is displayed?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100920/6881ce33/attachment-0002.htm>

More information about the whatwg mailing list