Page MenuHomePhorge

D148.1732286494.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D148.1732286494.diff

diff --git a/src/contents/ui/event-types/Video.qml b/src/contents/ui/event-types/Video.qml
--- a/src/contents/ui/event-types/Video.qml
+++ b/src/contents/ui/event-types/Video.qml
@@ -20,8 +20,6 @@
property var gender: 'neutral'
property var body: event.content.body
- property var mxcUri: event.content.url
- property var videoUri: matrixSdk.mxcUriToHttp(mxcUri)
property var videoInfo: event.content.info || {}
property var videoResolution: video.metaData.value(MediaMetaData.Resolution)
@@ -35,6 +33,17 @@
property var innerContentWidth: upper.contentMaxWidth - bubble.bubbleSpacing
+ property var jobManager: kazvIOManager
+ property var mtxSdk: matrixSdk
+
+ Kazv.FileHandler {
+ id: fileHandler
+ eventContent: event.content
+ autoCache: true
+ kazvIOManager: upper.jobManager
+ matrixSdk: upper.mtxSdk
+ }
+
Types.MediaBubble {
id: bubble
Layout.fillWidth: true
@@ -50,7 +59,7 @@
}
property var video: Video {
id: video
- source: videoUri
+ source: fileHandler.kazvIOJob ? "" : fileHandler.cachedFile
loops: MediaPlayer.Infinite
Layout.fillWidth: true

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 6:41 AM (4 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38879
Default Alt Text
D148.1732286494.diff (1 KB)

Event Timeline