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

@@ -17,7 +17,7 @@
<masonry [maxColSize]="2" style="overflow-y: scroll; height: 500px">
@for (file of viewModel().files(); track file) {
@if (file.type == "image") {
<img [src]="file.preview" style="width: 100%; height: 100%; object-fit: fill;"/>
<img [src]="file.blob" style="width: 100%; height: 100%; object-fit: fill;"/>
}
}
</masonry>