Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Looping a video infinitely, using QtMultimedia 5.0



  • Hi!

    I need to play a video looping infinitely, my current solution:

    @

    MediaPlayer {
    id: mediaPlayer
    autoPlay: true
    source : "vid.mp4"
    onPositionChanged: {

            if(position > limit){
                seek(0);
            }
        }
    
    }
    

    @

    However, it introduces notable 'pause'-state, how to smoothly playing an infinite loop of video?

    Thanks!

    Dio


Log in to reply