diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-12 19:02:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 11:50:08 +0200 |
commit | 40e87e9ecc54e3513fb586928330a7855eb192c6 (patch) | |
tree | af1111ecba85f9cd8286811ff332a67cf21be2f6 /client/src/app/shared/shared.module.ts | |
parent | d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (diff) | |
download | PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.gz PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.zst PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.zip |
Implement captions/subtitles
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 97e49e7ab..c3f4bf88b 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -37,12 +37,14 @@ import { I18n } from '@ngx-translate/i18n-polyfill' | |||
37 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | 37 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
38 | import { | 38 | import { |
39 | CustomConfigValidatorsService, | 39 | CustomConfigValidatorsService, |
40 | LoginValidatorsService, | 40 | LoginValidatorsService, ReactiveFileComponent, |
41 | ResetPasswordValidatorsService, | 41 | ResetPasswordValidatorsService, |
42 | UserValidatorsService, VideoAbuseValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService, VideoValidatorsService | 42 | UserValidatorsService, VideoAbuseValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService, VideoValidatorsService |
43 | } from '@app/shared/forms' | 43 | } from '@app/shared/forms' |
44 | import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' | 44 | import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' |
45 | import { ScreenService } from '@app/shared/misc/screen.service' | 45 | import { ScreenService } from '@app/shared/misc/screen.service' |
46 | import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service' | ||
47 | import { VideoCaptionService } from '@app/shared/video-caption' | ||
46 | 48 | ||
47 | @NgModule({ | 49 | @NgModule({ |
48 | imports: [ | 50 | imports: [ |
@@ -74,7 +76,8 @@ import { ScreenService } from '@app/shared/misc/screen.service' | |||
74 | FromNowPipe, | 76 | FromNowPipe, |
75 | MarkdownTextareaComponent, | 77 | MarkdownTextareaComponent, |
76 | InfiniteScrollerDirective, | 78 | InfiniteScrollerDirective, |
77 | HelpComponent | 79 | HelpComponent, |
80 | ReactiveFileComponent | ||
78 | ], | 81 | ], |
79 | 82 | ||
80 | exports: [ | 83 | exports: [ |
@@ -102,6 +105,7 @@ import { ScreenService } from '@app/shared/misc/screen.service' | |||
102 | MarkdownTextareaComponent, | 105 | MarkdownTextareaComponent, |
103 | InfiniteScrollerDirective, | 106 | InfiniteScrollerDirective, |
104 | HelpComponent, | 107 | HelpComponent, |
108 | ReactiveFileComponent, | ||
105 | 109 | ||
106 | NumberFormatterPipe, | 110 | NumberFormatterPipe, |
107 | ObjectLengthPipe, | 111 | ObjectLengthPipe, |
@@ -119,6 +123,7 @@ import { ScreenService } from '@app/shared/misc/screen.service' | |||
119 | AccountService, | 123 | AccountService, |
120 | MarkdownService, | 124 | MarkdownService, |
121 | VideoChannelService, | 125 | VideoChannelService, |
126 | VideoCaptionService, | ||
122 | 127 | ||
123 | FormValidatorService, | 128 | FormValidatorService, |
124 | CustomConfigValidatorsService, | 129 | CustomConfigValidatorsService, |
@@ -129,6 +134,7 @@ import { ScreenService } from '@app/shared/misc/screen.service' | |||
129 | VideoChannelValidatorsService, | 134 | VideoChannelValidatorsService, |
130 | VideoCommentValidatorsService, | 135 | VideoCommentValidatorsService, |
131 | VideoValidatorsService, | 136 | VideoValidatorsService, |
137 | VideoCaptionsValidatorsService, | ||
132 | 138 | ||
133 | I18nPrimengCalendarService, | 139 | I18nPrimengCalendarService, |
134 | ScreenService, | 140 | ScreenService, |