Cannot load video elements in MS windows
-
Hi there.
I'm having a problem playing video elements in windows. The Qt Mobility 1.1 TP is configured with with directshow plugin and when loading the qml below i get the following error:
file:///C:/Users/smg/Desktop/try8/TEST_multimedia/v.qml:2:1: plugin cannot be loaded for module "Qt.multimedia": Cannot load library C:/Qt/2010.05/qt/imports/Qt/multimedia/declarative_multimedia.dll: Impossível localizar o módulo especificado.
@
import Qt.multimedia 1.1
^
@@
import Qt 4.7
import Qt.multimedia 1.1Video {
id: video
width : 800
height : 600
//source: "video.avi"
source:"asf_to_mpeg-1.mpeg"MouseArea { anchors.fill: parent onClicked: { video.play() } } focus: true Keys.onSpacePressed: video.paused = !video.paused Keys.onLeftPressed: video.position -= 5000 Keys.onRightPressed: video.position += 5000
}
@[edit: Highlight added / Denis Kormalev]