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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>16226</bug_id>
          
          <creation_ts>2007-12-01 16:01:09 -0800</creation_ts>
          <short_desc>Poster frame stops displaying once video loads, even if it does not play</short_desc>
          <delta_ts>2010-04-13 08:32:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Maciej Stachowiak">mjs</reporter>
          <assigned_to name="Adele Peterson">adele</assigned_to>
          <cc>dwood</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>gavin.sharp</cc>
    
    <cc>lachlan.hunt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62913</commentid>
    <comment_count>0</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-12-01 16:01:09 -0800</bug_when>
    <thetext>The poster=&quot;&quot; specified poster frame should display until the video first plays, not just until it loads. The linked test case appears to show that we switch from the &apos;poster&apos; attribute to the video&apos;s actual poster frame as soon as it loads.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62917</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-12-01 16:10:33 -0800</bug_when>
    <thetext>Test case forthcoming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62920</commentid>
    <comment_count>2</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-12-01 16:39:20 -0800</bug_when>
    <thetext>http://lachy.id.au/dev/markup/tests/html5/video/007
http://lachy.id.au/dev/markup/tests/html5/video/008
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63163</commentid>
    <comment_count>3</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2007-12-03 11:05:03 -0800</bug_when>
    <thetext>The implementation is based on this line from the spec:

&quot;When no video data is available (the element&apos;s networkState attribute is either EMPTY, LOADING, or LOADED_METADATA), video elements represent either the image given by the poster attribute, or nothing.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64454</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-12-16 17:57:07 -0800</bug_when>
    <thetext>&lt;rdar://problem/5650561&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80439</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2008-05-14 18:45:16 -0700</bug_when>
    <thetext>The spec now allows the poster frame to be shown instead of the first frame of video while the video is paused on the first frame of video (though it doesn&apos;t require it).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85508</commentid>
    <comment_count>6</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2008-07-08 17:19:36 -0700</bug_when>
    <thetext>Lets say an author specifies something like this:
&lt;video src=&quot;myVideo.mp4&quot; poster=&quot;myImage.png&quot; controls&gt;&lt;/video&gt;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85509</commentid>
    <comment_count>7</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2008-07-08 17:22:06 -0700</bug_when>
    <thetext>shoot- I hit enter by accident.

With the example above and our current implementation, if I make the change to keep the poster image up if the video is paused on the first frame, thne the controls aren&apos;t visible for the user to actually start playing the video. To fix this,  I could rearrange RenderVideo so it owns the renderer for the poster image, and have it still display the controls over the poster image.  I&apos;m not sure if I&apos;m missing something else though that would prevent this from working correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211965</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2010-04-13 08:32:18 -0700</bug_when>
    <thetext>This was fixed by the changes in http://trac.webkit.org/changeset/53146.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>