AutoPlay and loops do not work in Qt 6.8.0/6.8.1. In 6.7.2, autoPlay is normal but there can only be one visible videooutput. Loops does not work either. In addition, your wasm must set the source externally, such as after clicking a button or "Component.onCompleted" . mediaPlayer.source = "xxx.mp3" Also, even if you only play audio, it seems that you need to set videoOutput, and since 6.7.3, there may be memory problems when using loader and mediaplayer. So it's better to avoid using mediaplayer.
Qt for WebAssembly
Specific issues when using Qt for WebAssembly
451
Topics
1.8k
Posts
-
-
-
-
-
-
-
QOpenGLWidget support on Win10/iOS
Unsolved -
This topic is deleted!
Unsolved -
-
-
-
-
QPlainTextEdit font
Solved -
Web Assembly: QtQuick or QtWidget?
Unsolved -
-
-
Qt 6.8.0 seems to have memory issues
Unsolved -
-
-