From 8b62b52ffee3bb67e58a2bf2be56c50b79f00617 Mon Sep 17 00:00:00 2001 From: Szabolcs David Date: Wed, 25 Mar 2020 12:52:35 +0100 Subject: Disable picture-in-picture mode for videos Remove non-working PIP option of the video player until we figure out how to support it. Task-number: QTBUG-82390 Change-Id: Id8aee294f50137e98c00c76d94e8227a61fb89f8 Reviewed-by: Allan Sandfeld Jensen --- src/core/web_engine_context.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/web_engine_context.cpp') diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index 55a9cc4a6..5937d3b21 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -599,6 +599,7 @@ WebEngineContext::WebEngineContext() appendToFeatureList(disableFeatures, features::kWebAuthCable.name); appendToFeatureList(disableFeatures, features::kWebPayments.name); appendToFeatureList(disableFeatures, features::kWebUsb.name); + appendToFeatureList(disableFeatures, media::kPictureInPicture.name); if (useEmbeddedSwitches) { // embedded switches are based on the switches for Android, see content/browser/android/content_startup_flags.cc -- cgit v1.2.3