<?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>144122</bug_id>
          
          <creation_ts>2015-04-23 14:40:24 -0700</creation_ts>
          <short_desc>Update media timeline controls when video is paused.</short_desc>
          <delta_ts>2015-04-23 16:02:44 -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>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roger Fong">roger_fong</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dino</cc>
    
    <cc>roger_fong</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1088006</commentid>
    <comment_count>0</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2015-04-23 14:40:24 -0700</bug_when>
    <thetext>We don&apos;t show or update our controls when the video is paused.
This is normally not an issue if you pause via the controls because the timeline is already active and being shown but if paused programmatically, (like when the video ends) the controls do not appear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088007</commentid>
    <comment_count>1</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2015-04-23 14:40:56 -0700</bug_when>
    <thetext>rdar://problem/19823121</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088008</commentid>
    <comment_count>2</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2015-04-23 14:42:49 -0700</bug_when>
    <thetext>Note that this now matches our behavior on iOS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088010</commentid>
    <comment_count>3</comment_count>
      <attachid>251493</attachid>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2015-04-23 14:45:11 -0700</bug_when>
    <thetext>Created attachment 251493
patchh</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088012</commentid>
    <comment_count>4</comment_count>
      <attachid>251493</attachid>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2015-04-23 14:48:11 -0700</bug_when>
    <thetext>Comment on attachment 251493
patchh

View in context: https://bugs.webkit.org/attachment.cgi?id=251493&amp;action=review

&gt; Source/WebCore/Modules/mediacontrols/mediaControlsApple.js:1310
&gt; +            this.showControls();

This will keep the controls hidden if the &lt;video&gt; does not specify the &quot;controls&quot; attribute?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088036</commentid>
    <comment_count>5</comment_count>
    <who name="Roger Fong">roger_fong</who>
    <bug_when>2015-04-23 15:21:30 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Comment on attachment 251493 [details]
&gt; patchh
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=251493&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/Modules/mediacontrols/mediaControlsApple.js:1310
&gt; &gt; +            this.showControls();
&gt; 
&gt; This will keep the controls hidden if the &lt;video&gt; does not specify the
&gt; &quot;controls&quot; attribute?

The controls won&apos;t be created at all if the we don&apos;t specify the controls attribute, (at least they don&apos;t show up in the shadow DOM, so they could be getting display: none&apos;d).
Either this won&apos;t effect the &quot;controls&quot; attribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088072</commentid>
    <comment_count>6</comment_count>
      <attachid>251493</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-04-23 16:02:40 -0700</bug_when>
    <thetext>Comment on attachment 251493
patchh

Clearing flags on attachment: 251493

Committed r183225: &lt;http://trac.webkit.org/changeset/183225&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1088073</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-04-23 16:02:44 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>251493</attachid>
            <date>2015-04-23 14:45:11 -0700</date>
            <delta_ts>2015-04-23 16:02:40 -0700</delta_ts>
            <desc>patchh</desc>
            <filename>patch.patch</filename>
            <type>text/plain</type>
            <size>2503</size>
            <attacher name="Roger Fong">roger_fong</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDE4MzIxMSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE2IEBACisyMDE1LTA0LTIzICBSb2dlciBG
b25nICA8cm9nZXJfZm9uZ0BhcHBsZS5jb20+CisKKyAgICAgICAgVXBkYXRlIG1lZGlhIHRpbWVs
aW5lIGNvbnRyb2xzIHdoZW4gdmlkZW8gaXMgcGF1c2VkLi4KKyAgICAgICAgaHR0cHM6Ly9idWdz
LndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE0NDEyMi4KKyAgICAgICAgPHJkYXI6Ly9wcm9i
bGVtLzIwNDIyOTI3PgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisg
ICAgICAgIC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JvbGxlci5wcm90b3R5cGUgPSB7CiAgICAgewogICAgICAgICB0aGlzLnNldE5lZWRzVGlt
ZWxpbmVNZXRyaWNzVXBkYXRlKCk7CiAKLSAgICAgICAgdGhpcy51cGRhdGVUaW1lKCk7CisgICAg
ICAgIHRoaXMudXBkYXRlVGltZSh0cnVlKTsKICAgICAgICAgdGhpcy51cGRhdGVQcm9ncmVzcyh0
cnVlKTsKICAgICAgICAgdGhpcy5kcmF3Vm9sdW1lQmFja2dyb3VuZCgpOworICAgICAgICB0aGlz
LmRyYXdUaW1lbGluZUJhY2tncm91bmQoKTsKIAogICAgICAgICB0aGlzLmNvbnRyb2xzLnBhbmVs
LmNsYXNzTGlzdC5hZGQodGhpcy5DbGFzc05hbWVzLnNob3cpOwogICAgICAgICB0aGlzLmNvbnRy
b2xzLnBhbmVsLmNsYXNzTGlzdC5yZW1vdmUodGhpcy5DbGFzc05hbWVzLmhpZGRlbik7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>