import { CommonModule } from '@angular/common'; import { Component, EventEmitter, Output } from '@angular/core'; import { FormsModule, NgForm } from '@angular/forms'; import { ErrorService } from '../../../services/error.service'; import { BtnLargeComponent } from '../../../shared/components/buttons/btn-large/btn-large.component'; import { VideoService } from '../../../services/video.service'; import { LoadingDialogComponent } from '../../../shared/components/loading-dialog/loading-dialog.component'; import { Video } from '../../../interfaces/video.interface'; @Component({ selector: 'app-upload-video', standalone: true, imports: [ CommonModule, FormsModule, BtnLargeComponent, LoadingDialogComponent, ], templateUrl: './upload-video.component.html', styleUrl: './upload-video.component.scss', }) export class UploadVideoComponent { @Output() toggleUploadVideoOverview = new EventEmitter(); @Output() uploadedVideo = new EventEmitter