Title: [291574] trunk/Source/WebCore
Revision
291574
Author
grao...@webkit.org
Date
2022-03-21 12:16:37 -0700 (Mon, 21 Mar 2022)

Log Message

[media-controls] scrubbing on iOS when inline does not work
https://bugs.webkit.org/show_bug.cgi?id=238138
rdar://90046770

Reviewed by Dean Jackson.

This bug is simular to bug 238136. We cannot register pointer events on window on iOS.

* Modules/modern-media-controls/controls/slider.js:
(Slider.prototype._interactionEndTarget):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (291573 => 291574)


--- trunk/Source/WebCore/ChangeLog	2022-03-21 19:11:22 UTC (rev 291573)
+++ trunk/Source/WebCore/ChangeLog	2022-03-21 19:16:37 UTC (rev 291574)
@@ -1,5 +1,18 @@
 2022-03-21  Antoine Quint  <grao...@webkit.org>
 
+        [media-controls] scrubbing on iOS when inline does not work
+        https://bugs.webkit.org/show_bug.cgi?id=238138
+        rdar://90046770
+
+        Reviewed by Dean Jackson.
+
+        This bug is simular to bug 238136. We cannot register pointer events on window on iOS.
+
+        * Modules/modern-media-controls/controls/slider.js:
+        (Slider.prototype._interactionEndTarget):
+
+2022-03-21  Antoine Quint  <grao...@webkit.org>
+
         [media-controls] tap gesture recognizer sometimes fails to recognize on iOS
         https://bugs.webkit.org/show_bug.cgi?id=238136
 

Modified: trunk/Source/WebCore/Modules/modern-media-controls/controls/slider.js (291573 => 291574)


--- trunk/Source/WebCore/Modules/modern-media-controls/controls/slider.js	2022-03-21 19:11:22 UTC (rev 291573)
+++ trunk/Source/WebCore/Modules/modern-media-controls/controls/slider.js	2022-03-21 19:16:37 UTC (rev 291574)
@@ -190,6 +190,8 @@
     _interactionEndTarget()
     {
         const mediaControls = this.parentOfType(MediaControls);
+        if (GestureRecognizer.SupportsTouches)
+            return mediaControls.element;
         return (!mediaControls || !mediaControls.layoutTraits.isFullscreen) ? window : mediaControls.element;
     }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to