diff --git a/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.component.ts b/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.component.ts index e723b62..72e6b41 100644 --- a/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.component.ts +++ b/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.component.ts @@ -38,6 +38,8 @@ export class VideoFileModal implements OnInit, OnDestroy { DOWNLOADED: VideoFile.STATUS_DOWNLOADED }; + enableBlobStorageOptions = false; + constructor(private _dialogRef: UIDialogRef, private _adminService: AdminService, private _fb: FormBuilder, @@ -130,7 +132,8 @@ export class VideoFileModal implements OnInit, OnDestroy { resolution_w: null, resolution_h: null, duration: null, - label: null + label: null, + blob_storage_url_v0: '', }); this.videoFileList.unshift(videoFileFormGroup); } @@ -158,7 +161,8 @@ export class VideoFileModal implements OnInit, OnDestroy { resolution_w: videoFile.resolution_w, resolution_h: videoFile.resolution_h, duration: videoFile.duration, - label: videoFile.label + label: videoFile.label, + blob_storage_url_v0: videoFile.blob_storage_url_v0, })); } diff --git a/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.html b/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.html index c9ef3ee..804ce0c 100644 --- a/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.html +++ b/src/app/admin/bangumi-detail/video-file-modal/video-file-modal.html @@ -29,21 +29,25 @@

- +
- +
- +
+
+ + +
@@ -94,6 +98,7 @@

\ No newline at end of file diff --git a/src/app/entity/video-file.ts b/src/app/entity/video-file.ts index 74629e4..ba133eb 100644 --- a/src/app/entity/video-file.ts +++ b/src/app/entity/video-file.ts @@ -19,7 +19,7 @@ export class VideoFile { kf_frame_width?: number; kf_frame_height?: number; kf_image_path_list?: string; - + blob_storage_url_v0?: string; static STATUS_DOWNLOAD_PENDING = 1; static STATUS_DOWNLOADING = 2;