import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core'; import { ucapAnimations } from '../../animations'; import { FileEventJson } from '@ucap-webmessenger/protocol-event'; import { DeviceType } from '@ucap-webmessenger/core'; @Component({ selector: 'ucap-video-viewer', templateUrl: './video-viewer.component.html', styleUrls: ['./video-viewer.component.scss'], animations: ucapAnimations }) export class VideoViewerComponent implements OnInit { @Input() fileInfo: FileEventJson; @Input() downloadUrl: string; @Input() userSeq: number; @Input() deviceType: DeviceType; @Input() token: string; @Output() download = new EventEmitter(); @Output() closed = new EventEmitter(); constructor() {} ngOnInit() {} onClickDownload(): void {} onClickClose(): void { this.closed.emit(); } }