]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/videos/videos.module.ts
Fix exception when getting 404 in video watch
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos.module.ts
1 import { NgModule } from '@angular/core'
2
3 import { TagInputModule } from 'ngx-chips'
4
5 import { VideosRoutingModule } from './videos-routing.module'
6 import { VideosComponent } from './videos.component'
7 import { VideoAddComponent, VideoUpdateComponent } from './video-edit'
8 import { LoaderComponent, VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list'
9 import {
10 VideoWatchComponent,
11 VideoMagnetComponent,
12 VideoReportComponent,
13 VideoShareComponent
14 } from './video-watch'
15 import { VideoService } from './shared'
16 import { SharedModule } from '../shared'
17
18 @NgModule({
19 imports: [
20 TagInputModule,
21
22 VideosRoutingModule,
23 SharedModule
24 ],
25
26 declarations: [
27 VideosComponent,
28
29 VideoAddComponent,
30 VideoUpdateComponent,
31
32 VideoListComponent,
33 VideoMiniatureComponent,
34 VideoSortComponent,
35
36 VideoWatchComponent,
37 VideoMagnetComponent,
38 VideoShareComponent,
39 VideoReportComponent,
40
41 LoaderComponent
42 ],
43
44 exports: [
45 VideosComponent
46 ],
47
48 providers: [
49 VideoService
50 ]
51 })
52 export class VideosModule { }