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=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..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,47 +1,48 @@ import { NgModule } from '@angular/core' 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' 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 { 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 + VideoCommentComponent, + + TimestampRouteTransformerDirective ], exports: [ - VideoWatchComponent + VideoWatchComponent, + + TimestampRouteTransformerDirective ], providers: [ - MarkdownService, VideoCommentService ] })