Add support to video support on client
[oweals/peertube.git] / client / src / app / videos / +video-watch / video-watch.module.ts
1 import { NgModule } from '@angular/core'
2 import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component'
3 import { TooltipModule } from 'ngx-bootstrap/tooltip'
4 import { ClipboardModule } from 'ngx-clipboard'
5 import { SharedModule } from '../../shared'
6 import { MarkdownService } from '../shared'
7 import { VideoCommentAddComponent } from './comment/video-comment-add.component'
8 import { VideoCommentComponent } from './comment/video-comment.component'
9 import { VideoCommentService } from './comment/video-comment.service'
10 import { VideoCommentsComponent } from './comment/video-comments.component'
11 import { VideoDownloadComponent } from './modal/video-download.component'
12 import { VideoReportComponent } from './modal/video-report.component'
13 import { VideoShareComponent } from './modal/video-share.component'
14
15 import { VideoWatchRoutingModule } from './video-watch-routing.module'
16
17 import { VideoWatchComponent } from './video-watch.component'
18
19 @NgModule({
20   imports: [
21     VideoWatchRoutingModule,
22     SharedModule,
23     ClipboardModule,
24     TooltipModule.forRoot()
25   ],
26
27   declarations: [
28     VideoWatchComponent,
29
30     VideoDownloadComponent,
31     VideoShareComponent,
32     VideoReportComponent,
33     VideoSupportComponent,
34     VideoCommentsComponent,
35     VideoCommentAddComponent,
36     VideoCommentComponent
37   ],
38
39   exports: [
40     VideoWatchComponent
41   ],
42
43   providers: [
44     MarkdownService,
45     VideoCommentService
46   ]
47 })
48 export class VideoWatchModule { }