Finished implementing video support
This commit is contained in:
@@ -17,7 +17,11 @@
|
||||
@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>
|
||||
@if (file.extraMetaData && Object.keys(file.extraMetaData).length > 0) {
|
||||
<video-player maxHeight="250px" maxWidth="250px" [src]="file.path" [thumbnailOverwrite]="file.extraMetaData['thumbnailMetaData']"></video-player>
|
||||
} @else {
|
||||
<video-player maxHeight="250px" maxWidth="250px" [src]="file.path"></video-player>
|
||||
}
|
||||
}
|
||||
}
|
||||
</masonry>
|
||||
|
||||
Reference in New Issue
Block a user