import { NgModule } from '@angular/core';
import { VideosRoutingModule } from './videos-routing.module';
import { VideosComponent } from './videos.component';
import { VideoAddComponent, VideoUpdateComponent } from './video-edit';
import { VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list';
import {
VideoWatchComponent,
VideoMagnetComponent,
VideoReportComponent,
VideoShareComponent,
WebTorrentService
} from './video-watch';
import { LoaderComponent, VideoService } from './shared';
import { SharedModule } from '../shared';
@NgModule({
imports: [
VideosRoutingModule,
SharedModule
],
declarations: [
VideosComponent,
VideoAddComponent,
VideoUpdateComponent,
VideoListComponent,
VideoMiniatureComponent,
VideoSortComponent,
VideoWatchComponent,
VideoMagnetComponent,
VideoShareComponent,
VideoReportComponent,
LoaderComponent
],
exports: [
VideosComponent
],
providers: [
VideoService,
WebTorrentService
]
})
export class VideosModule { }