Changeset 202455 in webkit


Ignore:
Timestamp:
Jun 24, 2016 3:25:24 PM (8 years ago)
Author:
jer.noble@apple.com
Message:

Vimeo.com videos do not get playback controls
https://bugs.webkit.org/show_bug.cgi?id=159082
<rdar://problem/26586630>

Reviewed by Eric Carlson.

When the HasAudioOrVideo media state changes, let the video controls recalculate
by calling videoControlsManagerDidChange().

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::isPlayingMediaDidChange):

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r202454 r202455  
     12016-06-24  Jer Noble  <jer.noble@apple.com>
     2
     3        Vimeo.com videos do not get playback controls
     4        https://bugs.webkit.org/show_bug.cgi?id=159082
     5        <rdar://problem/26586630>
     6
     7        Reviewed by Eric Carlson.
     8
     9        When the HasAudioOrVideo media state changes, let the video controls recalculate
     10        by calling videoControlsManagerDidChange().
     11
     12        * UIProcess/WebPageProxy.cpp:
     13        (WebKit::WebPageProxy::isPlayingMediaDidChange):
     14
    1152016-06-24  Beth Dakin  <bdakin@apple.com>
    216
  • trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp

    r202444 r202455  
    61506150    if ((oldState & playingMediaMask) != (m_mediaState & playingMediaMask))
    61516151        m_uiClient->isPlayingAudioDidChange(*this);
     6152#if PLATFORM(MAC)
     6153    if ((oldState & MediaProducer::HasAudioOrVideo) != (m_mediaState & MediaProducer::HasAudioOrVideo))
     6154        videoControlsManagerDidChange();
     6155#endif
    61526156}
    61536157
Note: See TracChangeset for help on using the changeset viewer.