import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { RouterModule } from '@angular/router'
import {
- NgbButtonsModule,
NgbCollapseModule,
NgbDropdownModule,
NgbModalModule,
import {
AutofocusDirective,
BytesPipe,
+ DeferLoadingDirective,
DurationFormatterPipe,
FromNowPipe,
InfiniteScrollerDirective,
import { CustomPageService } from './custom-page'
import { DateToggleComponent } from './date'
import { FeedComponent } from './feeds'
-import { LoaderComponent, SmallLoaderComponent } from './loaders'
+import { LoaderComponent } from './loaders'
import {
ChannelsSetupMessageComponent,
HelpComponent,
SimpleSearchInputComponent,
TopMenuDropdownComponent
} from './misc'
-import { PluginPlaceholderComponent } from './plugins'
+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,
+ VideoFileTokenService,
+ VideoImportService,
+ VideoOwnershipService,
+ VideoResolver,
+ VideoService
+} from './video'
import { VideoCaptionService } from './video-caption'
import { VideoChannelService } from './video-channel'
NgbNavModule,
NgbTooltipModule,
NgbCollapseModule,
- NgbButtonsModule,
ClipboardModule,
BytesPipe,
DurationFormatterPipe,
AutofocusDirective,
+ DeferLoadingDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
FeedComponent,
LoaderComponent,
- SmallLoaderComponent,
ChannelsSetupMessageComponent,
HelpComponent,
UserQuotaComponent,
UserNotificationsComponent,
- PluginPlaceholderComponent
+ EmbedComponent,
+
+ PluginPlaceholderComponent,
+ PluginSelectorDirective
],
exports: [
NgbNavModule,
NgbTooltipModule,
NgbCollapseModule,
- NgbButtonsModule,
ClipboardModule,
NumberFormatterPipe,
DurationFormatterPipe,
AutofocusDirective,
+ DeferLoadingDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
FeedComponent,
LoaderComponent,
- SmallLoaderComponent,
ChannelsSetupMessageComponent,
HelpComponent,
UserQuotaComponent,
UserNotificationsComponent,
- PluginPlaceholderComponent
+ EmbedComponent,
+
+ PluginPlaceholderComponent,
+ PluginSelectorDirective
],
providers: [
VideoImportService,
VideoOwnershipService,
VideoService,
+ VideoFileTokenService,
+ VideoResolver,
VideoCaptionService,