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

Forums

OverviewFelgo SDK Support › Play Video on Android

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #25292

    Nicola

    Hi,

    i know that there is some problem with the video on Android (so the camera have to be shown on the main page), but i have this porblem playing a video. If i push the Video (or MediaPlayer) in a page pushed in the navigationstack, it works but when try to come back and then do some other navigation action the app is frozen. So, i tried the same approach for the Camera, in the main i written:

    Video {
                id: video
                source: Qt.resolvedUrl("../assets/helpa.mp4")
                anchors.fill: parent
                MouseArea {
                    anchors.fill: parent
                    onClicked: {
                        console.log("play")
                        video.play()
                    }
                }
                onErrorOccurred: (error, errorString) => {
                                    console.log("EERROR", errorString)
                                }
            }

    But the video is blank and also if i tap the play action nothing happen (a part see the console message).

    I don’t know if there is some solution

    #25294

    Nicola
    #25301

    Günther
    Felgo Team

    Hi Nicola,

    yes sounds like that could be the case. Qt Multimedia was generally still a bit unstable with Qt 6.4, which is used by Felgo 4 at the moment. We will update to Qt 6.6 with one of the coming Felgo releases, so hopefully the issue will be fixed then. (at least the linked bug should be addressed in 6.5 or later)

    Best,
    Günther

Viewing 3 posts - 1 through 3 (of 3 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