I am trying to implement a Qt/QML video player that allows multiple videos to play at once, the Idea is similar to a monitoring system that controls, play,pause,seek etc 8 channels at the same time.
I am a beginner and I have attached my code, the problem I is that video 2 is appearing but video 1 is not appearing.
import QtQuick 2.1
import QtMultimedia 5.0
import QtQuick.Controls 1.3
Item{
Video{
id:video1
width: 460
height: 360
source :"F:/TestingVideos/Cash Office Camera/N01000713.mp4"
}
Video{
id:video2
width: 460
height: 360
source :"F:/TestingVideos/Cash Office Camera/N02000713.mp4"
}
MouseArea {
anchors.fill: parent
onClicked: {
video1.play()
video2.play()
}
}
}