aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/video-watch.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts7
1 files changed, 2 insertions, 5 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index dcceb1400..9973fad0d 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -10,7 +10,7 @@ import { forkJoin, Observable, Subscription } from 'rxjs'
10import { Hotkey, HotkeysService } from 'angular2-hotkeys' 10import { Hotkey, HotkeysService } from 'angular2-hotkeys'
11import { ServerConfig, UserVideoRateType, VideoCaption, VideoPrivacy, VideoState } from '../../../../../shared' 11import { ServerConfig, UserVideoRateType, VideoCaption, VideoPrivacy, VideoState } from '../../../../../shared'
12import { AuthService, ConfirmService } from '../../core' 12import { AuthService, ConfirmService } from '../../core'
13import { RestExtractor, VideoBlacklistService } from '../../shared' 13import { RestExtractor } from '../../shared'
14import { VideoDetails } from '../../shared/video/video-details.model' 14import { VideoDetails } from '../../shared/video/video-details.model'
15import { VideoService } from '../../shared/video/video.service' 15import { VideoService } from '../../shared/video/video.service'
16import { VideoShareComponent } from './modal/video-share.component' 16import { VideoShareComponent } from './modal/video-share.component'
@@ -33,11 +33,10 @@ import { Video } from '@app/shared/video/video.model'
33import { isWebRTCDisabled, timeToInt } from '../../../assets/player/utils' 33import { isWebRTCDisabled, timeToInt } from '../../../assets/player/utils'
34import { VideoWatchPlaylistComponent } from '@app/videos/+video-watch/video-watch-playlist.component' 34import { VideoWatchPlaylistComponent } from '@app/videos/+video-watch/video-watch-playlist.component'
35import { getStoredTheater } from '../../../assets/player/peertube-player-local-storage' 35import { getStoredTheater } from '../../../assets/player/peertube-player-local-storage'
36import { PluginService } from '@app/core/plugins/plugin.service'
37import { HooksService } from '@app/core/plugins/hooks.service' 36import { HooksService } from '@app/core/plugins/hooks.service'
38import { PlatformLocation } from '@angular/common' 37import { PlatformLocation } from '@angular/common'
39import { RecommendedVideosComponent } from '../recommendations/recommended-videos.component' 38import { RecommendedVideosComponent } from '../recommendations/recommended-videos.component'
40import { scrollToTop, isInViewport, isXPercentInViewport } from '@app/shared/misc/utils' 39import { scrollToTop, isXPercentInViewport } from '@app/shared/misc/utils'
41 40
42@Component({ 41@Component({
43 selector: 'my-video-watch', 42 selector: 'my-video-watch',
@@ -93,14 +92,12 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
93 private router: Router, 92 private router: Router,
94 private videoService: VideoService, 93 private videoService: VideoService,
95 private playlistService: VideoPlaylistService, 94 private playlistService: VideoPlaylistService,
96 private videoBlacklistService: VideoBlacklistService,
97 private confirmService: ConfirmService, 95 private confirmService: ConfirmService,
98 private metaService: MetaService, 96 private metaService: MetaService,
99 private authService: AuthService, 97 private authService: AuthService,
100 private serverService: ServerService, 98 private serverService: ServerService,
101 private restExtractor: RestExtractor, 99 private restExtractor: RestExtractor,
102 private notifier: Notifier, 100 private notifier: Notifier,
103 private pluginService: PluginService,
104 private markdownService: MarkdownService, 101 private markdownService: MarkdownService,
105 private zone: NgZone, 102 private zone: NgZone,
106 private redirectService: RedirectService, 103 private redirectService: RedirectService,