Finished implementing video support

This commit is contained in:
2026-04-10 09:39:39 +02:00
parent 2bcb6adbb3
commit 67918644e0
7 changed files with 41 additions and 24 deletions

View File

@@ -44,6 +44,9 @@ export class Dm implements OnInit {
if (session != null) {
let attachments: Attachment[] = []
files?.forEach(file => {
const extraMetaData: Record<string, string> = {}
extraMetaData["thumbnailMetaData"] = file.videoThumbnail ?? ""
attachments.push({
fileName: file.name,
fileId: file.fileId,
@@ -52,7 +55,7 @@ export class Dm implements OnInit {
path: file.blob,
height: file.height,
width: file.width,
localVideoThumbnail: file.videoThumbnail
extraMetaData: extraMetaData
})
})