I'll verify tonight and file one if needed. I know I did try it.. but I was also having problems with my gstreamer and the video encoding. (Ultimately, I settled for OGG instead of H264.) I cooked up a onStatusChanged handler because when the video is successfully loaded it it is changed to '2' (loaded) then I call play() which sets it to 6, then when it stops it goes back to 2..
Incidentally, is there a way to map from numbers to names so I can console.log(status) and get "Playing" instead of "6"? ----- Original Message ---- From: Justin McPherson <[email protected]> To: ext Jason H <[email protected]> Cc: "[email protected]" <[email protected]> Sent: Sun, January 9, 2011 9:10:21 PM Subject: Re: [Qt-qml] Video Element auto-play Hi, Just setting playing to true should do it. Video { source: "blah" playing: true } If it doesn't, it's a bug, please file a report :) - Justin On 9/01/11 6:32 PM, ext Jason H wrote: > Oh, nevermind. The On[PROPERTY]Changed slot is available for all properties... > > > > > ----- Original Message ---- > From: Jason H<[email protected]> > To: [email protected] > Sent: Sun, January 9, 2011 3:08:04 AM > Subject: [Qt-qml] Video Element auto-play > > How do I get a video element to start playing ASAP (without keys or clicks)? > > I get the first frame displayed, but I don't know how do start it. > > I was hoping there would be an onStatusChanged signal, that I could do: > > onStatusChanged(oldStatus) { > > if (status = Video.Loaded) play(); > } > > > > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml > > > > > _______________________________________________ > Qt-qml mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
