X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch.module.ts;h=9b445269d3634a513a22a1c9b3c3dca66ce3158e;hb=c2a89b70ce75c4955cbdb1ced6fd20a5010a8c9b;hp=e77883472c910e53090dcc60035a853c1aacde35;hpb=fb4fd623d5e5adcfdc9ecf3dffef702b3786f486;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 e77883472..9b445269d 100644 --- a/client/src/app/videos/+video-watch/video-watch.module.ts +++ b/client/src/app/videos/+video-watch/video-watch.module.ts @@ -1,38 +1,49 @@ import { NgModule } from '@angular/core' -import { TooltipModule } from 'ngx-bootstrap/tooltip' -import { ClipboardModule } from 'ngx-clipboard' +import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component' import { SharedModule } from '../../shared' -import { MarkdownService } from '../shared' -import { VideoDownloadComponent } from './video-download.component' -import { VideoReportComponent } from './video-report.component' -import { VideoShareComponent } from './video-share.component' - +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 { VideoShareComponent } from './modal/video-share.component' import { VideoWatchRoutingModule } from './video-watch-routing.module' - import { VideoWatchComponent } from './video-watch.component' +import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' +import { RecommendationsModule } from '@app/videos/recommendations/recommendations.module' +import { VideoWatchPlaylistComponent } from '@app/videos/+video-watch/video-watch-playlist.component' +import { QRCodeModule } from 'angularx-qrcode' +import { TimestampRouteTransformerDirective } from '@app/shared/angular/timestamp-route-transformer.directive' @NgModule({ imports: [ VideoWatchRoutingModule, SharedModule, - ClipboardModule, - TooltipModule.forRoot() + NgbTooltipModule, + QRCodeModule, + RecommendationsModule ], declarations: [ VideoWatchComponent, + VideoWatchPlaylistComponent, - VideoDownloadComponent, VideoShareComponent, - VideoReportComponent + VideoSupportComponent, + VideoCommentsComponent, + VideoCommentAddComponent, + VideoCommentComponent, + + TimestampRouteTransformerDirective ], exports: [ - VideoWatchComponent + VideoWatchComponent, + + TimestampRouteTransformerDirective ], providers: [ - MarkdownService + VideoCommentService ] }) export class VideoWatchModule { }