]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/+video-watch/video-watch.module.ts
Add redirection on unavailable video due to follow constraints
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / video-watch.module.ts
1 import { NgModule } from '@angular/core'
2 import { SharedFormModule } from '@app/shared/shared-forms'
3 import { SharedGlobalIconModule } from '@app/shared/shared-icons'
4 import { SharedMainModule } from '@app/shared/shared-main'
5 import { SharedModerationModule } from '@app/shared/shared-moderation'
6 import { SharedShareModal } from '@app/shared/shared-share-modal'
7 import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
8 import { SharedVideoCommentModule } from '@app/shared/shared-video-comment'
9 import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
10 import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist'
11 import { VideoCommentService } from '../../shared/shared-video-comment/video-comment.service'
12 import { VideoCommentAddComponent } from './comment/video-comment-add.component'
13 import { VideoCommentComponent } from './comment/video-comment.component'
14 import { VideoCommentsComponent } from './comment/video-comments.component'
15 import { VideoSupportComponent } from './modal/video-support.component'
16 import { RecommendationsModule } from './recommendations/recommendations.module'
17 import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive'
18 import { VideoDurationPipe } from './video-duration-formatter.pipe'
19 import { VideoWatchPlaylistComponent } from './video-watch-playlist.component'
20 import { VideoWatchRoutingModule } from './video-watch-routing.module'
21 import { VideoWatchComponent } from './video-watch.component'
22
23 @NgModule({
24 imports: [
25 VideoWatchRoutingModule,
26 RecommendationsModule,
27
28 SharedMainModule,
29 SharedFormModule,
30 SharedVideoMiniatureModule,
31 SharedVideoPlaylistModule,
32 SharedUserSubscriptionModule,
33 SharedModerationModule,
34 SharedGlobalIconModule,
35 SharedVideoCommentModule,
36 SharedShareModal
37 ],
38
39 declarations: [
40 VideoWatchComponent,
41 VideoWatchPlaylistComponent,
42
43 VideoSupportComponent,
44 VideoCommentsComponent,
45 VideoCommentAddComponent,
46 VideoCommentComponent,
47
48 TimestampRouteTransformerDirective,
49 VideoDurationPipe,
50 TimestampRouteTransformerDirective
51 ],
52
53 exports: [
54 VideoWatchComponent,
55
56 TimestampRouteTransformerDirective
57 ],
58
59 providers: [
60 VideoCommentService
61 ]
62 })
63 export class VideoWatchModule { }