<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal>>I wonder if these are separate use cases, e.g. whether
users would want to display a different image from the poster image in these
cases. i.e. I wonder if we need to >provide an attribute to specify an image
to display when paused and another new attribute for an image to display when
playback has ended. I wonder if that's overkill >through.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Oh gosh no! <span style='font-family:Wingdings'>J</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Shiv<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://exposureroom.com/"><span style='color:blue'>http://exposureroom.com</span></a><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces@lists.whatwg.org] <b>On Behalf Of </b>Chris Pearce<br>
<b>Sent:</b> Sunday, September 19, 2010 11:27 PM<br>
<b>To:</b> whatwg@lists.whatwg.org<br>
<b>Subject:</b> Re: [whatwg] Html 5 video element's poster attribute<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Right, so you want to be able to toggle the poster back on
(when the media is paused or ended) but after playback has started.<br>
<br>
I wonder if these are separate use cases, e.g. whether users would want to
display a different image from the poster image in these cases. i.e. I wonder
if we need to provide an attribute to specify an image to display when paused
and another new attribute for an image to display when playback has ended. I
wonder if that's overkill through.<br>
<br>
<br>
Chris P.<br>
<br>
On 20/09/2010 3:16 p.m., Shiv Kumar wrote: <o:p></o:p></p>
<div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As regards having more control of the poster’s visibility,
what I’m saying is that one should have the ability to turn on/off a
poster. Currently once the poster has been made invisible by the UA, there is
no way to turn it back on. So if I wanted to turn it back on after the video
has ended, I can’t and I think people should have that choice?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I hope that makes sense?</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Shiv</span><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://exposureroom.com/">http://exposureroom.com</a></span><o:p></o:p></p>
</div>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> <a
href="mailto:whatwg-bounces@lists.whatwg.org">whatwg-bounces@lists.whatwg.org</a>
[<a href="mailto:whatwg-bounces@lists.whatwg.org">mailto:whatwg-bounces@lists.whatwg.org</a>]
<b>On Behalf Of </b>Chris Pearce<br>
<b>Sent:</b> Sunday, September 19, 2010 11:10 PM<br>
<b>To:</b> <a href="mailto:whatwg@lists.whatwg.org">whatwg@lists.whatwg.org</a><br>
<b>Subject:</b> Re: [whatwg] Html 5 video element's poster attribute</span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal> <o:p></o:p></p>
<p class=MsoNormal>On 20/09/2010 12:50 p.m., Aryeh Gregor wrote: <o:p></o:p></p>
<pre>On Sun, Sep 19, 2010 at 4:53 PM, Shiv Kumar <a
href="mailto:skumar@exposureroom.com"><skumar@exposureroom.com></a> wrote:<o:p></o:p></pre>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>The poster frame should remain visible until the video is played.<o:p></o:p></pre></blockquote>
<pre> <o:p></o:p></pre><pre>I agree with Silvia, this should be required by the spec.<o:p></o:p></pre>
<p class=MsoNormal><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>
<br>
<br>
<o:p></o:p></p>
<p class=MsoNormal><br>
<br>
<br>
<o:p></o:p></p>
<pre>The poster should show again after the video has ended.<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>I'm ambivalent about this. I could go either way.<o:p></o:p></pre>
<p class=MsoNormal><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>
<br>
<br>
<o:p></o:p></p>
<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>The visibility of the poster should be scriptable and/or controllable using<o:p></o:p></pre><pre>an attribute. Meaning that one should be able to turn on/off the poster<o:p></o:p></pre><pre>(without changing the poster attrbute’s value)<o:p></o:p></pre></blockquote>
<pre> <o:p></o:p></pre><pre>I don't see why this is necessary.<o:p></o:p></pre>
<p class=MsoNormal><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>
<br>
<br>
<o:p></o:p></p>
<pre> You can just do<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>video.dataset.poster = video.poster;<o:p></o:p></pre><pre>video.removeAttribute("poster");<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>to remove it, and<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>video.poster = video.dataset.poster;<o:p></o:p></pre><pre> <o:p></o:p></pre><pre>to restore, if you like. (In browsers that implement dataset, which<o:p></o:p></pre><pre>is apparently only WebKit so far. But you can easily store the<o:p></o:p></pre><pre>original value someplace else, although not quite as elegantly.)<o:p></o:p></pre><pre> <o:p></o:p></pre>
<p class=MsoNormal><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
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><o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>