Started implementing video support.

This commit is contained in:
2026-04-10 09:15:37 +02:00
parent 7d9737e9c2
commit 2bcb6adbb3
13 changed files with 429 additions and 55 deletions

View File

@@ -16,6 +16,8 @@
@for (file of message.files; track file) {
@if (file.type == "image") {
<img [src]="file.path" style="width: 100%; height: 100%; max-height: 300px; object-fit: cover; border-radius: 25px"/>
} @else if (file.type == "video") {
<video-player [src]="file.path"></video-player>
}
}
</masonry>