Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Play .flv movies in QML

Play .flv movies in QML

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 4.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yazwas
    wrote on last edited by
    #1

    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!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      task_struct
      wrote on last edited by
      #2

      Hello,

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

      "Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program."

      • Linu...
      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yazwas
        wrote on last edited by
        #3

        @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

        1 Reply Last reply
        0
        • Y Offline
          Y Offline
          yazwas
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved