Changeset 185220 in webkit


Ignore:
Timestamp:
Jun 4, 2015, 3:08:59 PM (10 years ago)
Author:
eric.carlson@apple.com
Message:

[Mac] Don't show default controls after playing to wireless target, again
https://bugs.webkit.org/show_bug.cgi?id=145620
<rdar://problem/21145806>

Reviewed by Dean Jackson.

Follow up to fix two tests broken by r185207.

  • Modules/mediacontrols/mediaControlsApple.js:

(Controller.prototype.updateControls): Always show controls when the video element

is the fullscreen element because custom controls aren't possible.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Source/WebCore/ChangeLog

    r185219 r185220  
     12015-06-04  Eric Carlson  <eric.carlson@apple.com>
     2
     3        [Mac] Don't show default controls after playing to wireless target, again
     4        https://bugs.webkit.org/show_bug.cgi?id=145620
     5        <rdar://problem/21145806>
     6
     7        Reviewed by Dean Jackson.
     8
     9        Follow up to fix two tests broken by r185207.
     10
     11        * Modules/mediacontrols/mediaControlsApple.js:
     12        (Controller.prototype.updateControls): Always show controls when the video element
     13          is the fullscreen element because custom controls aren't possible.
     14
    1152015-06-04  Myles C. Maxfield  <mmaxfield@apple.com>
    216
  • TabularUnified trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js

    r185207 r185220  
    613613        this.setNeedsTimelineMetricsUpdate();
    614614
    615         if (this.video.controls) {
     615        if (this.video.controls || this.isFullScreen()) {
    616616            this.controls.panel.classList.add(this.ClassNames.show);
    617617            this.controls.panel.classList.remove(this.ClassNames.hidden);
Note: See TracChangeset for help on using the changeset viewer.