-import { Component, OnDestroy, OnInit } from '@angular/core'
+import { Component, ComponentFactoryResolver, OnDestroy, OnInit } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
import { AuthService, LocalStorageService, Notifier, ScreenService, ServerService, UserService } from '@app/core'
import { HooksService } from '@app/core/plugins/hooks.service'
sort = '-publishedAt' as VideoSortField
filter: VideoFilter = 'local'
- useUserVideoPreferences = true
+ loadUserVideoPreferences = true
constructor (
protected router: Router,
protected userService: UserService,
protected screenService: ScreenService,
protected storageService: LocalStorageService,
+ protected cfr: ComponentFactoryResolver,
private videoService: VideoService,
private hooks: HooksService
) {