diff --git a/kcmkwin/kwincompositing/qml/Effect.qml b/kcmkwin/kwincompositing/qml/Effect.qml index 752e9a7882..84607d35d1 100644 --- a/kcmkwin/kwincompositing/qml/Effect.qml +++ b/kcmkwin/kwincompositing/qml/Effect.qml @@ -129,9 +129,6 @@ Rectangle { videoItem.visible = false; } } - onLoaded: { - videoItem.item.showHide(); - } } } Item { diff --git a/kcmkwin/kwincompositing/qml/Video.qml b/kcmkwin/kwincompositing/qml/Video.qml index e7a4d3d606..a194e9bce1 100644 --- a/kcmkwin/kwincompositing/qml/Video.qml +++ b/kcmkwin/kwincompositing/qml/Video.qml @@ -26,8 +26,7 @@ import QtMultimedia 5.0 as Multimedia Multimedia.Video { id: videoItem - autoLoad: false - visible: false + autoPlay: true source: model.VideoRole width: 400 height: 400