- this.configService.loadConfig();
- this.videoService.loadVideoCategories();
- this.videoService.loadVideoLicences();
+ // Load custom data from server
+ this.serverService.loadConfig()
+ this.serverService.loadVideoCategories()
+ this.serverService.loadVideoLanguages()
+ this.serverService.loadVideoLicences()
+ this.serverService.loadVideoPrivacies()
+
+ // Do not display menu on small screens
+ if (window.innerWidth < 600) {
+ this.isMenuDisplayed = false
+ }