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=0b1dd5c15ebf47b542f5dbe3c886911f9d10608c;hpb=202f6b6c9dcc9b0aec4b0c1b15e455c22a7952a7;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 0b1dd5c15..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,18 +1,33 @@ 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' +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 + SharedModule, + ClipboardModule, + NgbTooltipModule, + NgxQRCodeModule, + TextareaAutosizeModule, + RecommendationsModule ], declarations: [ @@ -20,7 +35,12 @@ import { VideoDownloadComponent } from './video-download.component' VideoDownloadComponent, VideoShareComponent, - VideoReportComponent + VideoReportComponent, + VideoBlacklistComponent, + VideoSupportComponent, + VideoCommentsComponent, + VideoCommentAddComponent, + VideoCommentComponent ], exports: [ @@ -28,7 +48,9 @@ import { VideoDownloadComponent } from './video-download.component' ], providers: [ - MarkdownService + MarkdownService, + LinkifierService, + VideoCommentService ] }) export class VideoWatchModule { }