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