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