I want to play a video but it is showing invalid property.
Unsolved
QML and Qt Quick
-
@Biswa The error in application output say Media player is not defined.So maybe your code does not load QtMultimedia Module properly. You will need to check the import of Qt Multimedia
-
@Ronel_qtmaster yes
-
@Biswa it should work, the property is clearly there: https://doc.qt.io/qt-5/qml-qtmultimedia-video.html#autoPlay-prop
Anyway, as a workaround you can remove that line and trigger the play manually instead (for example using
Component.onCompleted
slot).