Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
朱子楚\zhuzi committed Apr 1, 2023
1 parent 9cf4b4b commit 6391fc8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
19 changes: 17 additions & 2 deletions example/T_MediaPlayer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,26 @@ FluScrollablePage{
}
FluMediaPlayer{
id:player
// source:"http://mirror.aarnet.edu.au/pub/TED-talks/911Mothers_2010W-480p.mp4"
source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
// source:"http://video.chinanews.com/flv/2019/04/23/400/111773_web.mp4"
}
}
}

FluArea{
width: parent.width
height: 68
Layout.topMargin: 20
paddings: 10

FluButton{
text:"跳转到视频播放器窗口"
anchors.verticalCenter: parent.verticalCenter
onClicked:{
FluApp.navigate("/media",{source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"})
}
}

}

}

2 changes: 1 addition & 1 deletion example/page/AboutPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ FluWindow {
fontStyle: FluText.Title
}
FluText{
text:"v1.1.7"
text:"v1.1.8"
fontStyle: FluText.Body
Layout.alignment: Qt.AlignBottom
}
Expand Down
1 change: 1 addition & 0 deletions example/page/LoginPage.qml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI

FluWindow {
Expand Down
8 changes: 4 additions & 4 deletions example/page/MediaPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ FluWindow {

title:"视频播放器"

onInitArgument:
(argument)=>{
player.source = argument.source
}

FluAppBar{
id:appbar
Expand All @@ -28,10 +32,6 @@ FluWindow {
top: appbar.bottom
bottom: parent.bottom
}
// source:"http://mirror.aarnet.edu.au/pub/TED-talks/911Mothers_2010W-480p.mp4"
source:"http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
// source:"http://video.chinanews.com/flv/2019/04/23/400/111773_web.mp4"
}


}

0 comments on commit 6391fc8

Please sign in to comment.