update
parent
bd422f96cf
commit
8b531e4637
|
@ -2,10 +2,12 @@
|
||||||
import QtQuick.Window
|
import QtQuick.Window
|
||||||
import QtQuick.Controls
|
import QtQuick.Controls
|
||||||
import QtQuick.Layouts
|
import QtQuick.Layouts
|
||||||
|
import QtMultimedia
|
||||||
import FluentUI
|
import FluentUI
|
||||||
|
|
||||||
Window {
|
Window {
|
||||||
id:app
|
id:app
|
||||||
|
MediaPlayer{}
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
FluApp.init(app)
|
FluApp.init(app)
|
||||||
FluTheme.darkMode = FluDarkMode.System
|
FluTheme.darkMode = FluDarkMode.System
|
||||||
|
|
|
@ -27,9 +27,9 @@ Rectangle {
|
||||||
audioOutput: AudioOutput{
|
audioOutput: AudioOutput{
|
||||||
id:audio_output
|
id:audio_output
|
||||||
}
|
}
|
||||||
onErrorChanged:
|
onErrorStringChanged:
|
||||||
(error)=> {
|
(error)=> {
|
||||||
console.debug(error)
|
console.debug(errorString)
|
||||||
}
|
}
|
||||||
onPositionChanged: {
|
onPositionChanged: {
|
||||||
if(autoSeek){
|
if(autoSeek){
|
||||||
|
|
Loading…
Reference in New Issue