<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12465</bug_id>
          
          <creation_ts>2011-04-09 22:18:56 +0000</creation_ts>
          <short_desc>Can it be added that the poster image (if defined) should continue to show until video is played for the first time? Safari currently shows the first frame of the video as soon as it&apos;s available (when preloading) while other browsers continue to show the</short_desc>
          <delta_ts>2011-08-15 04:16:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#video</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</cc>
    
    <cc>steve</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47309</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-04-09 22:18:56 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#poster-frame
Section: http://www.whatwg.org/specs/web-apps/current-work/#video

Comment:
Can it be added that the poster image (if defined) should continue to show
until video is played for the first time? Safari currently shows the first
frame of the video as soon as it&apos;s available (when preloading) while other
browsers continue to show the poster image. The latter would seem to be the
correct behavior, because if I deliberately set a poster image, I want that
image to show for as long as the video has not been played yet. If I
deliberately burn a poster frame into the first frame of the video itself, I
just won&apos;t set the poster image.

Posted from: 68.101.124.197
User agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47310</commentid>
    <comment_count>1</comment_count>
    <who name="Steve Heffernan">steve</who>
    <bug_when>2011-04-09 22:23:54 +0000</bug_when>
    <thetext>This is my comment. (steve at videojs)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47315</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-04-10 19:35:08 +0000</bug_when>
    <thetext>I&apos;d like to see this standardized too. In Opera, the poster is shown if and only if (poster_attr &amp;&amp; !poster_failed &amp;&amp; !(played_or_seeked &amp;&amp; frame_decoded), where the states mean:

poster_attr: poster attribute is set
poster_failed: decoding the poster as an image failed
played_or_seeked: a play or seek has been requested
frame_decoded: a frame has been decoded (any frame)

(Obviously, it&apos;s also necessary to have decoded the poster image, but whenever the conditions are above are met we&apos;re &quot;trying&quot; to show the poster image, so it either eventually shows or the state switches to poster_failed.

All state is reset at the beginning of the resource selection algorithm.

In addition, whever the poster image is showing, the intrinsic size of the element is the size of the poster. In other words, the element is never resized to the size of the video while the poster image is still showing.

Needless to say, I&apos;d be happy to standardize exactly what we already do :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51068</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-07-14 23:27:18 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: 

This is a UI issue, no? Surely it should be left up to the browsers. What&apos;s the difference between the user quickly starting and pausing the video and the browser doing it automatically?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51135</commentid>
    <comment_count>4</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-07-15 19:18:00 +0000</bug_when>
    <thetext>If the poster frame is displayed in some browsers but not others once the video starts loading, they&apos;ll be forced to hack around it by superimposing an &lt;img&gt; or burning a poster into the first frame of the video.  This defeats the entire point of the feature.  If something is visually part of the page contents, authors absolutely need to be able to control it reliably.  Authors are not going to accept &quot;the poster frame I&apos;ve carefully selected displays in some browsers until the user hits play, and in others it disappears almost immediately and is replaced by the first frame&quot;.

This isn&apos;t UI at all.  UI differences are where the same basic thing is displayed to the user, but in a UA-specific manner.  Here we&apos;re talking about two totally different things being displayed to the user: the poster and the first frame.  There&apos;s no reason not to demand interop here.

I don&apos;t get your last sentence at all.  We&apos;re talking about a case where no one has started playing the video at all.  What does starting and immediately stopping it have to do with anything?  Once the video has started playing, the poster shouldn&apos;t display anymore, as the spec says: &quot;the poster frame should not be shown again after a frame of video has been shown.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51197</commentid>
    <comment_count>5</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-07-18 09:38:02 +0000</bug_when>
    <thetext>(In reply to comment #3)

&gt; This is a UI issue, no? Surely it should be left up to the browsers. What&apos;s the
&gt; difference between the user quickly starting and pausing the video and the
&gt; browser doing it automatically?

Why would a browser ever play and pause automatically? That would fire spurious events...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53762</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:17:04 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55020</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-08-15 04:15:58 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Fair enough.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55021</commentid>
    <comment_count>8</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-08-15 04:16:56 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6454.
Check-in comment: Be less flexible about what UAs are allowed to do with &lt;video&gt;.
http://html5.org/tools/web-apps-tracker?from=6453&amp;to=6454</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>