]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/video-watch.module.ts
Migrate to bootstrap 4 and ng-bootstrap
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch.module.ts
index 0b1dd5c15ebf47b542f5dbe3c886911f9d10608c..09d5133e4dfd3176712ffeefd42dfe6c37a98862 100644 (file)
@@ -1,18 +1,28 @@
 import { NgModule } from '@angular/core'
-
-import { VideoWatchRoutingModule } from './video-watch-routing.module'
-import { MarkdownService } from '../shared'
+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'
+import { VideoCommentAddComponent } from './comment/video-comment-add.component'
+import { VideoCommentComponent } from './comment/video-comment.component'
+import { VideoCommentService } from './comment/video-comment.service'
+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 { VideoReportComponent } from './video-report.component'
-import { VideoShareComponent } from './video-share.component'
-import { VideoDownloadComponent } from './video-download.component'
+import { NgxQRCodeModule } from 'ngx-qrcode2'
+import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
 
 @NgModule({
   imports: [
     VideoWatchRoutingModule,
-    SharedModule
+    SharedModule,
+    ClipboardModule,
+    NgbTooltipModule.forRoot(),
+    NgxQRCodeModule
   ],
 
   declarations: [
@@ -20,7 +30,11 @@ import { VideoDownloadComponent } from './video-download.component'
 
     VideoDownloadComponent,
     VideoShareComponent,
-    VideoReportComponent
+    VideoReportComponent,
+    VideoSupportComponent,
+    VideoCommentsComponent,
+    VideoCommentAddComponent,
+    VideoCommentComponent
   ],
 
   exports: [
@@ -28,7 +42,9 @@ import { VideoDownloadComponent } from './video-download.component'
   ],
 
   providers: [
-    MarkdownService
+    MarkdownService,
+    LinkifierService,
+    VideoCommentService
   ]
 })
 export class VideoWatchModule { }