summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorSzabolcs David <davidsz@inf.u-szeged.hu>2020-03-25 12:52:35 +0100
committerSzabolcs David <davidsz@inf.u-szeged.hu>2020-03-26 04:27:37 +0100
commit8b62b52ffee3bb67e58a2bf2be56c50b79f00617 (patch)
tree2dba751922feff8466963696217ca1093caa07c2 /src/core/web_engine_context.cpp
parent1390979a6f0a8469642bc294e4647470575016c4 (diff)
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 <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r--src/core/web_engine_context.cpp1
1 files changed, 1 insertions, 0 deletions
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