Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QML / Video / Autorepeat:true // Ugly white screen is displayed between video looping
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qmlvideo
1 Posts 1 Posters 871 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • QtEnthusiast_EmbeddedProgrammerQ Offline
    QtEnthusiast_EmbeddedProgrammerQ Offline
    QtEnthusiast_EmbeddedProgrammer
    wrote on last edited by QtEnthusiast_EmbeddedProgrammer
    #1

    Hi there,

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

    //official example of http://doc.qt.io/qt-5/qml-qtmultimedia-video.html
    Video {
        id: video
        width : 800
        height : 600
        source: "video.mp4"
    
        MouseArea {
            anchors.fill: parent
            onClicked: {
                video.play()
            }
        }
    
        focus: true
        autoPlay: true
        Keys.onSpacePressed: video.playbackState == MediaPlayer.PlayingState ? video.pause() : video.play()
        Keys.onLeftPressed: video.seek(video.position - 5000)
        Keys.onRightPressed: video.seek(video.position + 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

    QtEnthusiast_And_EmbeddedProgrammer

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved