Important: Please read the Qt Code of Conduct -

QML / Video / Autorepeat:true // Ugly white screen is displayed between video looping

  • Hi there,

    I am using the following qml video element in the loop mode.

    //official example of
    Video {
        id: video
        width : 800
        height : 600
        source: "video.mp4"
        MouseArea {
            anchors.fill: parent
            onClicked: {
        focus: true
        autoPlay: true
        Keys.onSpacePressed: video.playbackState == MediaPlayer.PlayingState ? video.pause() :
        Keys.onLeftPressed: - 5000)
        Keys.onRightPressed: + 5000)

    As the video reaches the end, an ugly white screen is displayed before the video starts again.
    Is this a qt bug?
    Is there a solution available?
    Maybe there is a workaround?

    I appreciate your comments.

    Kind regards


Log in to reply