<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 20/09/2010 12:50 p.m., Aryeh Gregor wrote:
    <blockquote
      cite="mid:AANLkTiku9P=3r5ujBz6XtMTuNPrNJoJjSMs=8_O-3R3J@mail.gmail.com"
      type="cite">
      <pre wrap="">On Sun, Sep 19, 2010 at 4:53 PM, Shiv Kumar <a class="moz-txt-link-rfc2396E" href="mailto:skumar@exposureroom.com"><skumar@exposureroom.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">The poster frame should remain visible until the video is played.
</pre>
      </blockquote>
      <pre wrap="">
I agree with Silvia, this should be required by the spec.</pre>
    </blockquote>
    <br>
    This makes sense, we should spec this so that the poster <i>must</i>
    be visible until its played, otherwise the poster attribute can't be
    relied upon by authors.<br>
    <br>
    <blockquote
      cite="mid:AANLkTiku9P=3r5ujBz6XtMTuNPrNJoJjSMs=8_O-3R3J@mail.gmail.com"
      type="cite"><br>
      <blockquote type="cite">
        <pre wrap="">The poster should show again after the video has ended.
</pre>
      </blockquote>
      <pre wrap="">
I'm ambivalent about this.  I could go either way.</pre>
    </blockquote>
    <br>
    Aesthetically, I feel we shouldn't show the poster once the video
    has finished. Authors could script this behaviour if they wanted it.
    The spec as it's written forbids showing the poster after a video
    frame has been shown.<br>
    <br>
    <br>
    <blockquote
      cite="mid:AANLkTiku9P=3r5ujBz6XtMTuNPrNJoJjSMs=8_O-3R3J@mail.gmail.com"
      type="cite">
      <blockquote type="cite">
        <pre wrap="">The visibility of the poster should be scriptable and/or controllable using
an attribute. Meaning that one should be able to turn on/off the poster
(without changing the poster attrbute’s value)
</pre>
      </blockquote>
      <pre wrap="">
I don't see why this is necessary.</pre>
    </blockquote>
    <br>
    I also don't see why this is necessary. The poster attribute is only
    useful if it's enabled, it's not useful if it isn't. Having an
    attribute to denote whether the poster attribute is enabled seems
    like duplication of state to me.<br>
    <br>
    <blockquote
      cite="mid:AANLkTiku9P=3r5ujBz6XtMTuNPrNJoJjSMs=8_O-3R3J@mail.gmail.com"
      type="cite">
      <pre wrap="">  You can just do

video.dataset.poster = video.poster;
video.removeAttribute("poster");

to remove it, and

video.poster = video.dataset.poster;

to restore, if you like.  (In browsers that implement dataset, which
is apparently only WebKit so far.  But you can easily store the
original value someplace else, although not quite as elegantly.)

</pre>
    </blockquote>
    <br>
    The specification for poster [1] implies that we should handle
    dynamic changes to the poster attribute. I can imagine authors may
    want to cycle through a chain of poster images for a given video,
    and this can (theoretically) be easily implemented by changing the
    poster attribute in a timer.<br>
    <br>
    Chris P.<br>
    <br>
    [1]
<a class="moz-txt-link-freetext" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#attr-video-poster">http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#attr-video-poster</a><br>
  </body>
</html>