[Qt-qml] Video Element auto-play

Jason H scorp1us at yahoo.com
Sun Jan 9 09:32:10 CET 2011


Oh, nevermind. The On[PROPERTY]Changed slot is available for all properties...




----- Original Message ----
From: Jason H <scorp1us at yahoo.com>
To: qt-qml at trolltech.com
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
Qt-qml at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-qml



      


More information about the Qt-qml mailing list