import { HttpClientModule } from '@angular/common/http'
import { NgModule } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
-import { ActivatedRouteSnapshot, RouterModule } from '@angular/router'
+import { RouterModule } from '@angular/router'
import {
NgbButtonsModule,
NgbCollapseModule,
import {
AutofocusDirective,
BytesPipe,
+ DeferLoadingDirective,
DurationFormatterPipe,
FromNowPipe,
InfiniteScrollerDirective,
+ LinkComponent,
NumberFormatterPipe,
PeerTubeTemplateDirective
} from './angular'
import { DateToggleComponent } from './date'
import { FeedComponent } from './feeds'
import { LoaderComponent, SmallLoaderComponent } from './loaders'
-import { HelpComponent, ListOverflowComponent, SimpleSearchInputComponent, TopMenuDropdownComponent } from './misc'
-import { PluginPlaceholderComponent } from './plugins'
+import {
+ ChannelsSetupMessageComponent,
+ HelpComponent,
+ ListOverflowComponent,
+ SimpleSearchInputComponent,
+ TopMenuDropdownComponent
+} from './misc'
+import { PluginPlaceholderComponent, PluginSelectorDirective } from './plugins'
+import { ActorRedirectGuard } from './router'
import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users'
-import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
+import { EmbedComponent, RedundancyService, VideoImportService, VideoOwnershipService, VideoResolver, VideoService } from './video'
import { VideoCaptionService } from './video-caption'
import { VideoChannelService } from './video-channel'
-import { ActorRedirectGuard } from './router'
@NgModule({
imports: [
BytesPipe,
DurationFormatterPipe,
AutofocusDirective,
+ DeferLoadingDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
+ LinkComponent,
ActionDropdownComponent,
ButtonComponent,
LoaderComponent,
SmallLoaderComponent,
+ ChannelsSetupMessageComponent,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
UserQuotaComponent,
UserNotificationsComponent,
- PluginPlaceholderComponent
+ EmbedComponent,
+
+ PluginPlaceholderComponent,
+ PluginSelectorDirective
],
exports: [
NumberFormatterPipe,
DurationFormatterPipe,
AutofocusDirective,
+ DeferLoadingDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
+ LinkComponent,
ActionDropdownComponent,
ButtonComponent,
LoaderComponent,
SmallLoaderComponent,
+ ChannelsSetupMessageComponent,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
UserQuotaComponent,
UserNotificationsComponent,
- PluginPlaceholderComponent
+ EmbedComponent,
+
+ PluginPlaceholderComponent,
+ PluginSelectorDirective
],
providers: [
VideoImportService,
VideoOwnershipService,
VideoService,
+ VideoResolver,
VideoCaptionService,