diff options
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-main/video/video.service.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/video/video.service.ts b/client/src/app/shared/shared-main/video/video.service.ts index f2bf02695..8c8b1e08f 100644 --- a/client/src/app/shared/shared-main/video/video.service.ts +++ b/client/src/app/shared/shared-main/video/video.service.ts | |||
@@ -305,6 +305,11 @@ export class VideoService { | |||
305 | ) | 305 | ) |
306 | } | 306 | } |
307 | 307 | ||
308 | removeFile (videoId: number | string, fileId: number, type: 'hls' | 'webtorrent') { | ||
309 | return this.authHttp.delete(VideoService.BASE_VIDEO_URL + '/' + videoId + '/' + type + '/' + fileId) | ||
310 | .pipe(catchError(err => this.restExtractor.handleError(err))) | ||
311 | } | ||
312 | |||
308 | runTranscoding (videoIds: (number | string)[], type: 'hls' | 'webtorrent') { | 313 | runTranscoding (videoIds: (number | string)[], type: 'hls' | 'webtorrent') { |
309 | const body: VideoTranscodingCreate = { transcodingType: type } | 314 | const body: VideoTranscodingCreate = { transcodingType: type } |
310 | 315 | ||