mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
Tried out dynamic properties
Because making them all static is an enormous task. But I guess it is the way to go.
This commit is contained in:
parent
4e3395c4e5
commit
298a64a8a4
3 changed files with 47 additions and 11 deletions
|
@ -54,13 +54,13 @@ BaseDetailPage {
|
|||
width: parent.width
|
||||
imageSource: Utils.itemImageUrl(ApiClient.baseUrl, itemData, "Primary", {"maxWidth": parent.width})
|
||||
imageAspectRatio: Constants.horizontalVideoAspectRatio
|
||||
playProgress: itemData.UserData.PlayedPercentage / 100
|
||||
playProgress: itemData.userData.playedPercentage / 100
|
||||
onPlayPressed: pageStack.push(Qt.resolvedUrl("../VideoPage.qml"),
|
||||
{"itemId": itemId, "itemData": itemData,
|
||||
"audioTrack": trackSelector.audioTrack,
|
||||
"subtitleTrack": trackSelector.subtitleTrack,
|
||||
"startTicks": startFromBeginning ? 0.0
|
||||
: itemData.UserData.PlaybackPositionTicks })
|
||||
: itemData.userData.playbackPositionTicks })
|
||||
}
|
||||
|
||||
VideoTrackSelector {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue