<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=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@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";}
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;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@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 lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal>>Could a call to video.load() reset this state?<br>
<br>
<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'>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?<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>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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.</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>
<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>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<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"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces@lists.whatwg.org] <b>On Behalf Of </b>Silvia Pfeiffer<br>
<b>Sent:</b> Sunday, September 19, 2010 11:19 PM<br>
<b>To:</b> Shiv Kumar<br>
<b>Cc:</b> whatwg@lists.whatwg.org; Chris Pearce<br>
<b>Subject:</b> Re: [whatwg] Html 5 video element's poster attribute<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Could a call to video.load()
reset this state?<br>
<br>
Silvia.<o:p></o:p></p>
<div>
<p class=MsoNormal>On Mon, Sep 20, 2010 at 1:16 PM, Shiv Kumar <<a
href="mailto:skumar@exposureroom.com">skumar@exposureroom.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>I hope that makes sense?</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'>Shiv</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'><a href="http://exposureroom.com/"
target="_blank">http://exposureroom.com</a></span><o:p></o:p></p>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> <a
href="mailto:whatwg-bounces@lists.whatwg.org" target="_blank">whatwg-bounces@lists.whatwg.org</a>
[mailto:<a href="mailto:whatwg-bounces@lists.whatwg.org" target="_blank">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" target="_blank">whatwg@lists.whatwg.org</a></span><o:p></o:p></p>
<div>
<p class=MsoNormal><br>
<b>Subject:</b> Re: [whatwg] Html 5 video element's poster attribute<o:p></o:p></p>
</div>
</div>
</div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On
20/09/2010 12:50 p.m., Aryeh Gregor wrote: <o:p></o:p></p>
<div>
<div><pre>On Sun, Sep 19, 2010 at 4:53 PM, Shiv Kumar <a
href="mailto:skumar@exposureroom.com" target="_blank"><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 style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><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>
<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><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 style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><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>
<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 style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><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>
<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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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"
target="_blank">http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#attr-video-poster</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>