mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 18:22:46 +00:00
Move playback logic to C++ side
This commit is contained in:
parent
5ddd5e8e2e
commit
a244c27b1a
8 changed files with 147 additions and 84 deletions
|
@ -62,7 +62,7 @@ Page {
|
|||
id: backdropBackground
|
||||
ThemeBackground {
|
||||
sourceItem: backdrop
|
||||
backgroundMaterial: Materials.blur
|
||||
backgroundMaterial: "blur"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -60,11 +60,10 @@ BaseDetailPage {
|
|||
favourited: itemData.userData.isFavorite
|
||||
playProgress: itemData.userData.playedPercentage / 100
|
||||
onPlayPressed: pageStack.push(Qt.resolvedUrl("../VideoPage.qml"),
|
||||
{"itemId": itemId, "itemData": itemData,
|
||||
{"itemData": itemData,
|
||||
"audioTrack": trackSelector.audioTrack,
|
||||
"subtitleTrack": trackSelector.subtitleTrack,
|
||||
"startTicks": startFromBeginning ? 0.0
|
||||
: _playbackProsition })
|
||||
"resume": resume})
|
||||
}
|
||||
|
||||
VideoTrackSelector {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue