[whatwg] Html 5 video element's poster attribute

Shiv Kumar skumar at exposureroom.com
Tue Sep 21 21:26:00 PDT 2010

>Thus, it covers both use cases.

I'd say it covers two use cases. "Both" implies that's all the use cases
there are and I've cited 3 that I know of.

So if they want to "reset" the player they'll have to live with the poster
showing when the video ends?



>What I suggested was to use a call to the load()


So in your mind calling load() implies showing the poster?


The other reason (that I've mentioned repeatedly) for not wanting to use the
load method is this:

1.       The load method has way too many side effects including events no
less, oh and did I mention have the player now go to pause and have the
readyState switch to HAVE_NOTHING, when there is meta data and to Network
state go to empty when it's really idle? Gosh, I could take almost every
other step in the media element load algorithm stated procedure.

2.       These side (I've only listed  small number above) effects are not
desireable when all we want to do is turn on/off the poster.

3.       Alter the load alogorithm to now fiddle with the poster will impact
the other use case I've mentioned and that is, the ability to be able to
switch media in mid play. We call the load() method to be able to do this
(because of the things it does do listed above). So now we'll have the
poster become visible while we're trying to switch video streams?



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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20100922/1dc49bb7/attachment-0002.htm>

More information about the whatwg mailing list