VideoDummy.qml Example File
multimedia/video/qmlvideo/qml/qmlvideo/VideoDummy.qml
import QtQuick 2.0
Rectangle {
id: root
color: "grey"
height: width
property int duration: 0
property int position: 0
property string source
property real volume: 1.0
property real playbackRate: 1.0
signal fatalError
signal sizeChanged
signal framePainted
Text {
anchors.fill: parent
anchors.margins: 10
color: "white"
horizontalAlignment: Text.AlignHCenter
text: "Failed to create Video item\n\nCheck that Qt Multimedia is installed"
verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap
}
onWidthChanged: height = width
onHeightChanged: root.sizeChanged()
function start() { }
function stop() { }
function seek() { }
}