summaryrefslogtreecommitdiffstats
path: root/examples/multimedia/video/mediaplayer
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2021-09-15 14:25:49 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-17 07:28:29 +0000
commit89e253ce554101b64833beb57cc613ad2913f690 (patch)
treea26deca7422f0f1f3ca98d7cfcf4163c1312bc87 /examples/multimedia/video/mediaplayer
parent19974891267029297749c6269f058305431f4cf4 (diff)
Hide the metadata and tracks side bar when videoOutput is tapped
Change-Id: I7ec3e321335877831930b7ffa1076b79c87fcdef Reviewed-by: Samuel Mira <samuel.mira@qt.io> Reviewed-by: Piotr Srebrny <piotr.srebrny@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit a3c15ba4984f2e7f903e48cfd273af2f3861f083) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/multimedia/video/mediaplayer')
-rw-r--r--examples/multimedia/video/mediaplayer/main.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/multimedia/video/mediaplayer/main.qml b/examples/multimedia/video/mediaplayer/main.qml
index 84e0e8647..b831d5f56 100644
--- a/examples/multimedia/video/mediaplayer/main.qml
+++ b/examples/multimedia/video/mediaplayer/main.qml
@@ -126,6 +126,12 @@ Window {
parent.fullScreen ? showNormal() : showFullScreen()
parent.fullScreen = !parent.fullScreen
}
+ onTapped: {
+ metadataInfo.visible = false
+ audioTracksInfo.visible = false
+ videoTracksInfo.visible = false
+ subtitleTracksInfo.visible = false
+ }
}
}