Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Playing video in a loop

$
0
0
Hi guys, I’m trying to play a video in an endless loop, using QtQuick 2.0 and QtMultimedia 5.0 on Win8/32Bit. The video plays until it reaches the end. The debug message is thenshown, but the video does not restart. Also tried to reset video position to 0, but that didn’t help either. Any idea what’s wrong here? Video {             id: video1             source: "C:/Users/zeroc8/Videos/freeride.wmv"             autoPlay: false             anchors.fill: parent             opacity: 0.6             focus: true             onStopped: {                 console.debug("Video stopped")                 video1.play()             }           }

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>