[Interest] QML Video: keep last frame up

Jason H jhihn at gmx.com
Mon Nov 4 18:25:16 CET 2019


Nevermind. Slow start on a monday: https://stackoverflow.com/questions/21138824/how-to-pause-video-on-last-frame-in-qml


> Sent: Monday, November 04, 2019 at 11:51 AM
> From: "Jason H" <jhihn at gmx.com>
> To: "interestqt-project.org" <interest at qt-project.org>
> Subject: [Interest] QML Video: keep last frame up
>
> Very simply, I want to keep the last frame of video up (preferably without having to delve into C++). But when the video finishes, it disappears. I tried
> Window {
> 	id: root
> 	visible: true
> 	width: 640
> 	height: 480
> 	title: qsTr("Hello World")
> 	Component.onCompleted: v.play()
>
> 	Video {
> 		id: v
> 		source: "1234567890ABCDEF_rear.mov"
> 		anchors.centerIn: parent
> 		rotation: 90
> 		width:root.height
> 		height: root.width
> 		onStopped: seek(duration-1);
> 	}
> }
>
> Anyone know how to do this?
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
>


More information about the Interest mailing list