Changeset 190054 in webkit


Ignore:
Timestamp:
Sep 21, 2015, 1:53:01 AM (10 years ago)
Author:
ChangSeok Oh
Message:

[GTK] media controls does not show up when playing video finishes.
https://bugs.webkit.org/show_bug.cgi?id=149112

Reviewed by Philippe Normand.

Source/WebCore:

GTK port does not show controls after playing video. This behavior is different
from what Mac port does. They do show controls when playing video finishes.
At least, we should update the timeline before showing it up not to show incorrect numbers
when reappearing.

Test: media/media-controls-timeline-updates-after-playing.html

  • Modules/mediacontrols/mediaControlsBase.js:

(Controller.prototype.setPlaying):
(Controller.prototype.showControls):

LayoutTests:

  • media/media-controls-timeline-updates-after-playing-expected.txt: Added.
  • media/media-controls-timeline-updates-after-playing.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r190053 r190054  
     12015-09-21  ChangSeok Oh  <changseok.oh@collabora.com>
     2
     3        [GTK] media controls does not show up when playing video finishes.
     4        https://bugs.webkit.org/show_bug.cgi?id=149112
     5
     6        Reviewed by Philippe Normand.
     7
     8        * media/media-controls-timeline-updates-after-playing-expected.txt: Added.
     9        * media/media-controls-timeline-updates-after-playing.html: Added.
     10
    1112015-09-21  ChangSeok Oh  <changseok.oh@collabora.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r190053 r190054  
     12015-09-21  ChangSeok Oh  <changseok.oh@collabora.com>
     2
     3        [GTK] media controls does not show up when playing video finishes.
     4        https://bugs.webkit.org/show_bug.cgi?id=149112
     5
     6        Reviewed by Philippe Normand.
     7
     8        GTK port does not show controls after playing video. This behavior is different
     9        from what Mac port does. They do show controls when playing video finishes.
     10        At least, we should update the timeline before showing it up not to show incorrect numbers
     11        when reappearing.
     12
     13        Test: media/media-controls-timeline-updates-after-playing.html
     14
     15        * Modules/mediacontrols/mediaControlsBase.js:
     16        (Controller.prototype.setPlaying):
     17        (Controller.prototype.showControls):
     18
    1192015-09-21  ChangSeok Oh  <changseok.oh@collabora.com>
    220
  • trunk/Source/WebCore/Modules/mediacontrols/mediaControlsBase.js

    r190053 r190054  
    999999            this.controls.playButton.classList.add(this.ClassNames.paused);
    10001000            this.controls.playButton.setAttribute('aria-label', this.UIString('Play'));
     1001            this.showControls();
    10011002        } else {
    10021003            this.controls.panel.classList.remove(this.ClassNames.paused);
     
    10141015        this.controls.panel.classList.remove(this.ClassNames.hidden);
    10151016
     1017        this.updateTime();
    10161018        this.setNeedsTimelineMetricsUpdate();
    10171019    },
Note: See TracChangeset for help on using the changeset viewer.