Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › VideoOutput dosen't work on IOS

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #21936

    jrrobles79

    I have a serious issue with VideoOutput, I can hear the audio but I don’t see the video.

    I have a PopUp window that has to show a video when opens, but I can only hear it, on the android version does works fine.

     

     

    import Felgo 3.0
    import QtQuick 2.0
    import QtQuick.Controls 2.1
    import QtMultimedia 5.9
    ...
    ... 
    
    MediaPlayer {
            id: mediaplayer
            autoPlay: true
            loops: MediaPlayer.Infinite
            source: "http://felgo.com/web-assets/video.mp4"
        }
    
        VideoOutput {
            anchors.fill: parent
            source: mediaplayer
            autoOrientation: true
            fillMode: VideoOutput.PreserveAspectFit
        }
    

     

     

    pd. BTW I tried to use the Video component (https://felgo.com/doc/qt/qml-qtmultimedia-video/) and is not recognized, it says ‘Unknow component’

    Update: I change the original video source, for the one on the example. But the original video is created on an iphone xr

    I was playing arround a little with the stop and play methods and I was able to show it but freeze after a few seconds

     

Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.