]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - 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
index 085a9ec5a36a15e078a9a6682c97c3950bd62256..5582ab40f170b6199f14319f4fb2dfda6fcc7ba4 100644 (file)
@@ -1,5 +1,6 @@
 import { NgModule } from '@angular/core'
-import { TooltipModule } from 'ngx-bootstrap/tooltip'
+import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service'
+import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component'
 import { ClipboardModule } from 'ngx-clipboard'
 import { SharedModule } from '../../shared'
 import { MarkdownService } from '../shared'
@@ -10,17 +11,23 @@ import { VideoCommentsComponent } from './comment/video-comments.component'
 import { VideoDownloadComponent } from './modal/video-download.component'
 import { VideoReportComponent } from './modal/video-report.component'
 import { VideoShareComponent } from './modal/video-share.component'
-
 import { VideoWatchRoutingModule } from './video-watch-routing.module'
-
 import { VideoWatchComponent } from './video-watch.component'
+import { NgxQRCodeModule } from 'ngx-qrcode2'
+import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
+import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-blacklist.component'
+import { RecommendationsModule } from '@app/videos/recommendations/recommendations.module'
+import { TextareaAutosizeModule } from 'ngx-textarea-autosize'
 
 @NgModule({
   imports: [
     VideoWatchRoutingModule,
     SharedModule,
     ClipboardModule,
-    TooltipModule.forRoot()
+    NgbTooltipModule,
+    NgxQRCodeModule,
+    TextareaAutosizeModule,
+    RecommendationsModule
   ],
 
   declarations: [
@@ -29,6 +36,8 @@ import { VideoWatchComponent } from './video-watch.component'
     VideoDownloadComponent,
     VideoShareComponent,
     VideoReportComponent,
+    VideoBlacklistComponent,
+    VideoSupportComponent,
     VideoCommentsComponent,
     VideoCommentAddComponent,
     VideoCommentComponent
@@ -40,6 +49,7 @@ import { VideoWatchComponent } from './video-watch.component'
 
   providers: [
     MarkdownService,
+    LinkifierService,
     VideoCommentService
   ]
 })