1 import { FormGroup } from '@angular/forms'
2 import { VideoEdit } from '@app/shared/shared-main'
4 function hydrateFormFromVideo (formGroup: FormGroup, video: VideoEdit, thumbnailFiles: boolean) {
5 formGroup.patchValue(video.toFormPatch())
7 if (thumbnailFiles === false) return
20 for (const obj of objects) {
21 if (!video[obj.url]) continue
24 .then(response => response.blob())
26 formGroup.patchValue({