Video controls, though hidden, are still interactive when in PiP
[WebKit-https.git] / Source / WebCore / Modules / mediacontrols / mediaControlsiOS.css
index b6d3454..9d0cf35 100644 (file)
@@ -175,6 +175,10 @@ video::-webkit-media-controls-panel.paused {
     opacity: 1;
 }
 
+video::-webkit-media-controls-panel.picture-in-picture {
+    pointer-events: none;
+}
+
 video::-webkit-media-controls-rewind-button,
 audio::-webkit-media-controls-rewind-button,
 video::-webkit-media-controls-panel .mute-box,