View Single Post
Posts: 662 | Thanked: 653 times | Joined on Feb 2010
#4
Well, I've tried numerous different methods. Basically, anything involving the video element doesn't work. Changes to width and height do nothing. Have tried mp4 files, 3gp files and AVI files.

Code:
 import QtQuick 1.0
 import QtMultimediaKit 1.2

 Video {
     id: video
     width: 800
     height: 480
     source: "/home/user/MyDocs/bird.avi"

     MouseArea {
         anchors.fill: parent
         onClicked: {
             video.play()
         }
     }
}

Last edited by Reffyyyy; 2011-03-04 at 15:47.