Play .flv movies in QML



  • Good day All

    I want to play online .flv files inside my QML application. How can I do that, since using Video component does not work. How can I run .flv file using the external flv player of the phone?

    I've tried using this call

    @Qt.openUrlExternally(flvUrl)@

    but did not work, or I might be doing something wrong!
    Thanks in advance!



  • Hello,

    since this is flash, you can try to play it in "WebView":http://doc.qt.nokia.com/4.7-snapshot/qml-webview.html



  • @struct
    Hello,
    Thanks for the reply, I think I can test that and see if that works out,
    but I also would like to know how to run the flv movies in the player that comes with Symbian phones



  • I've tried the WebView, but its not working because I want to play a flv video directly in it.
    I'm using the following code to run the flv file,

    @import QtQuick 1.0
    import QtWebKit 1.0

    Rectangle {
    width: 360
    height: 640

    WebView{
        anchors.fill: parent
        settings.pluginsEnabled: true
        settings.javaEnabled: true
        url: "http://proleague.ae/media/movie/Etisalat cup final video flv.flv"
    }
    
    MouseArea {
        anchors.fill: parent
        onClicked: {
            Qt.quit();
        }
    }
    

    }
    @

    How can I fix this? any suggestions are more than welcome?
    How can I open the native player on Symbian phones from QML or Qt

    Thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.