Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
0d4572595698502e04f491bfea3e16bb1851b645
Description
This does not work:
Video { source: "file:..." playing: true }
whereas this does work:
Video { source: "file:..." Component.onCompleted: playing = true // force to happen after source is set }
The class should work regardless of what order the properties are set. At a minimum, the class could use QDeclarativeParserStatus to at least work correctly on initial settings.
Similarly, some changes during notifiers don't work - neither of these achieve looping:
onPlayingChanged: { if (!playing) play() } onStatusChanged: { if (status == Video.EndOfMedia) { play() } }