Title: [202455] trunk/Source/WebKit2
Revision
202455
Author
[email protected]
Date
2016-06-24 15:25:24 -0700 (Fri, 24 Jun 2016)

Log 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):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (202454 => 202455)


--- trunk/Source/WebKit2/ChangeLog	2016-06-24 22:25:10 UTC (rev 202454)
+++ trunk/Source/WebKit2/ChangeLog	2016-06-24 22:25:24 UTC (rev 202455)
@@ -1,3 +1,17 @@
+2016-06-24  Jer Noble  <[email protected]>
+
+        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):
+
 2016-06-24  Beth Dakin  <[email protected]>
 
         Include enclosingListType in EditorState

Modified: trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp (202454 => 202455)


--- trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2016-06-24 22:25:10 UTC (rev 202454)
+++ trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp	2016-06-24 22:25:24 UTC (rev 202455)
@@ -6149,6 +6149,10 @@
     playingMediaMask |= MediaProducer::HasActiveMediaCaptureDevice;
     if ((oldState & playingMediaMask) != (m_mediaState & playingMediaMask))
         m_uiClient->isPlayingAudioDidChange(*this);
+#if PLATFORM(MAC)
+    if ((oldState & MediaProducer::HasAudioOrVideo) != (m_mediaState & MediaProducer::HasAudioOrVideo))
+        videoControlsManagerDidChange();
+#endif
 }
 
 #if PLATFORM(MAC)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to