Added resolution and audio bitrate to video info dialog

This commit is contained in:
Isaac Abadi
2022-06-23 01:44:19 -04:00
parent a2d1b154a3
commit b1448d95e5
5 changed files with 51 additions and 9 deletions

View File

@@ -361,12 +361,16 @@ export class PlayerComponent implements OnInit, AfterViewInit, OnDestroy {
}
openFileInfoDialog(): void {
this.dialog.open(VideoInfoDialogComponent, {
const dialogRef = this.dialog.open(VideoInfoDialogComponent, {
data: {
file: this.db_file,
},
minWidth: '50vw'
})
});
dialogRef.afterClosed().subscribe(() => {
this.db_file = dialogRef.componentInstance.file;
});
}
setPlaybackTimestamp(time: number): void {