X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch.module.ts;h=5fa50ecbb1fa30a584eb81e8ae9b0ddb4aee59d4;hb=b29bf61dbd518e5cef0b2f564ddc8f8a0657d089;hp=1b983200db3824dd307aa7516bdca98fdcb18834;hpb=9d9597df427542eb5c7d3ba8ff5aeb146fab40e2;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 1b983200d..5fa50ecbb 100644 --- a/client/src/app/videos/+video-watch/video-watch.module.ts +++ b/client/src/app/videos/+video-watch/video-watch.module.ts @@ -1,35 +1,51 @@ import { NgModule } from '@angular/core' - -import { VideoWatchRoutingModule } from './video-watch-routing.module' -import { VideoService, MarkdownService } from '../shared' +import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component' import { SharedModule } 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 { 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 { 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 { InputSwitchModule } from 'primeng/inputswitch' +import { TimestampRouteTransformerDirective } from '@app/shared/angular/timestamp-route-transformer.directive' @NgModule({ imports: [ VideoWatchRoutingModule, - SharedModule + SharedModule, + NgbTooltipModule, + QRCodeModule, + RecommendationsModule, + InputSwitchModule ], declarations: [ VideoWatchComponent, + VideoWatchPlaylistComponent, - VideoDownloadComponent, VideoShareComponent, - VideoReportComponent + VideoSupportComponent, + VideoCommentsComponent, + VideoCommentAddComponent, + VideoCommentComponent, + + TimestampRouteTransformerDirective ], exports: [ - VideoWatchComponent + VideoWatchComponent, + + TimestampRouteTransformerDirective ], providers: [ - MarkdownService, - VideoService + VideoCommentService ] }) export class VideoWatchModule { }