X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch.module.ts;h=5582ab40f170b6199f14319f4fb2dfda6fcc7ba4;hb=7f5f4152a4cd4fc328d6ae177d281ebe7e792dd3;hp=6a22c36d9ae66e95ad9f68572830dcea9bd81f32;hpb=07fa4c97ca50b83b0bee9230da97d02401b4e05f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-watch/video-watch.module.ts b/client/src/app/videos/+video-watch/video-watch.module.ts index 6a22c36d9..5582ab40f 100644 --- a/client/src/app/videos/+video-watch/video-watch.module.ts +++ b/client/src/app/videos/+video-watch/video-watch.module.ts @@ -1,6 +1,6 @@ import { NgModule } from '@angular/core' +import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service' import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component' -import { TooltipModule } from 'ngx-bootstrap/tooltip' import { ClipboardModule } from 'ngx-clipboard' import { SharedModule } from '../../shared' import { MarkdownService } from '../shared' @@ -11,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: [ @@ -30,6 +36,7 @@ import { VideoWatchComponent } from './video-watch.component' VideoDownloadComponent, VideoShareComponent, VideoReportComponent, + VideoBlacklistComponent, VideoSupportComponent, VideoCommentsComponent, VideoCommentAddComponent, @@ -42,6 +49,7 @@ import { VideoWatchComponent } from './video-watch.component' providers: [ MarkdownService, + LinkifierService, VideoCommentService ] })