Finished implementing video support
This commit is contained in:
@@ -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
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user