From c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 17 Sep 2020 09:20:52 +0200 Subject: Live streaming implementation first step --- client/src/app/core/plugins/plugin.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/core/plugins') diff --git a/client/src/app/core/plugins/plugin.service.ts b/client/src/app/core/plugins/plugin.service.ts index 4e44a1865..b755fda2c 100644 --- a/client/src/app/core/plugins/plugin.service.ts +++ b/client/src/app/core/plugins/plugin.service.ts @@ -2,6 +2,7 @@ import { Observable, of, ReplaySubject } from 'rxjs' import { catchError, first, map, shareReplay } from 'rxjs/operators' import { HttpClient } from '@angular/common/http' import { Inject, Injectable, LOCALE_ID, NgZone } from '@angular/core' +import { VideoEditType } from '@app/+videos/+video-edit/shared/video-edit.type' import { AuthService } from '@app/core/auth' import { Notifier } from '@app/core/notification' import { MarkdownService } from '@app/core/renderer' @@ -192,7 +193,7 @@ export class PluginService implements ClientHook { : PluginType.THEME } - getRegisteredVideoFormFields (type: 'import-url' | 'import-torrent' | 'upload' | 'update') { + getRegisteredVideoFormFields (type: VideoEditType) { return this.formFields.video.filter(f => f.videoFormOptions.type === type) } -- cgit v1.2.3