Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Video

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12096

    Phil

    Hi. I’m trying to add a video to my title screen that loops infinitely. Can you advise on how to achieve this? I see there’s a Video component, but there’s no loop property. AlphaVideo has a loops property, but my video does not appear correctly. I also found MediaPlayer, but this isn’t working for me:

     

        MediaPlayer {
            id: video
            source: "../../assets/myVideo.m4v"
            loops: MediaPlayer.Infinite
            autoPlay: true
            autoLoad: true
        }

     

    Thanks,

     

    Phil

    #12097

    Alex
    Felgo Team

    Hi Phil,

    That’s a good question! You have two possibilities: Use the Video item and implement looping by yourself (restart the video on the onStopped signal handler) or use the MediaPlayer item in conjunction with a VideoOutput item (MediaPlayer only handles playback but does not display anything).

    Best,

    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded