- titlePage = 'Trending'
- currentRoute = '/videos/trending'
- defaultSort: VideoSortField = '-views'
-
- constructor (protected router: Router,
- protected route: ActivatedRoute,
- protected notificationsService: NotificationsService,
- protected authService: AuthService,
- protected location: Location,
- private videoService: VideoService) {
+ titlePage: string
+ defaultSort: VideoSortField = '-trending'
+
+ useUserVideoPreferences = true
+
+ constructor (
+ protected i18n: I18n,
+ protected router: Router,
+ protected serverService: ServerService,
+ protected route: ActivatedRoute,
+ protected notifier: Notifier,
+ protected authService: AuthService,
+ protected userService: UserService,
+ protected screenService: ScreenService,
+ protected storageService: LocalStorageService,
+ private videoService: VideoService,
+ private hooks: HooksService
+ ) {