]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/+video-watch/video-watch.module.ts
Refactor: Separated "Other Videos" section into a dedicated component/service (#969)
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.module.ts
CommitLineData
a685e25c 1import { NgModule } from '@angular/core'
e8cb4409 2import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service'
07fa4c97 3import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component'
fb4fd623
C
4import { ClipboardModule } from 'ngx-clipboard'
5import { SharedModule } from '../../shared'
6import { MarkdownService } from '../shared'
4635f59d
C
7import { VideoCommentAddComponent } from './comment/video-comment-add.component'
8import { VideoCommentComponent } from './comment/video-comment.component'
9import { VideoCommentService } from './comment/video-comment.service'
10import { VideoCommentsComponent } from './comment/video-comments.component'
11import { VideoDownloadComponent } from './modal/video-download.component'
12import { VideoReportComponent } from './modal/video-report.component'
13import { VideoShareComponent } from './modal/video-share.component'
a685e25c 14import { VideoWatchRoutingModule } from './video-watch-routing.module'
a685e25c 15import { VideoWatchComponent } from './video-watch.component'
4503cb2a 16import { NgxQRCodeModule } from 'ngx-qrcode2'
63347a0f 17import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
26b7305a 18import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-blacklist.component'
7f5f4152 19import { RecommendationsModule } from '@app/videos/recommendations/recommendations.module'
2d9fea16 20import { TextareaAutosizeModule } from 'ngx-textarea-autosize'
a685e25c
C
21
22@NgModule({
23 imports: [
24 VideoWatchRoutingModule,
c7e1e432 25 SharedModule,
e9189001 26 ClipboardModule,
d77ad726 27 NgbTooltipModule,
2d9fea16 28 NgxQRCodeModule,
7f5f4152
BJ
29 TextareaAutosizeModule,
30 RecommendationsModule
a685e25c
C
31 ],
32
33 declarations: [
34 VideoWatchComponent,
35
a96aed15 36 VideoDownloadComponent,
a685e25c 37 VideoShareComponent,
4635f59d 38 VideoReportComponent,
26b7305a 39 VideoBlacklistComponent,
07fa4c97 40 VideoSupportComponent,
4635f59d
C
41 VideoCommentsComponent,
42 VideoCommentAddComponent,
43 VideoCommentComponent
a685e25c
C
44 ],
45
46 exports: [
47 VideoWatchComponent
48 ],
49
50 providers: [
4635f59d 51 MarkdownService,
e8cb4409 52 LinkifierService,
4635f59d 53 VideoCommentService
a685e25c
C
54 ]
55})
56export class VideoWatchModule { }