Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F112267
D148.1732286494.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D148.1732286494.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D148: Make encrypted videos playable
Attached
Detach File
Event Timeline
Log In to Comment