diff options
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.ts | 4 |
1 files changed, 2 insertions, 2 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 72e96ca93..6f6bd4e5d 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 { Subscription } from 'rxjs' | |||
10 | import * as videojs from 'video.js' | 10 | import * as videojs from 'video.js' |
11 | import 'videojs-hotkeys' | 11 | import 'videojs-hotkeys' |
12 | import * as WebTorrent from 'webtorrent' | 12 | import * as WebTorrent from 'webtorrent' |
13 | import { UserVideoRateType, VideoRateType, VideoState } from '../../../../../shared' | 13 | import { UserVideoRateType, VideoPrivacy, VideoRateType, VideoState } from '../../../../../shared' |
14 | import '../../../assets/player/peertube-videojs-plugin' | 14 | import '../../../assets/player/peertube-videojs-plugin' |
15 | import { AuthService, ConfirmService } from '../../core' | 15 | import { AuthService, ConfirmService } from '../../core' |
16 | import { RestExtractor, VideoBlacklistService } from '../../shared' | 16 | import { RestExtractor, VideoBlacklistService } from '../../shared' |
@@ -368,7 +368,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
368 | inactivityTimeout: 2500, | 368 | inactivityTimeout: 2500, |
369 | videoFiles: this.video.files, | 369 | videoFiles: this.video.files, |
370 | playerElement: this.playerElement, | 370 | playerElement: this.playerElement, |
371 | videoViewUrl: this.videoService.getVideoViewUrl(this.video.uuid), | 371 | videoViewUrl: this.video.privacy.id !== VideoPrivacy.PRIVATE ? this.videoService.getVideoViewUrl(this.video.uuid) : null, |
372 | videoDuration: this.video.duration, | 372 | videoDuration: this.video.duration, |
373 | enableHotkeys: true, | 373 | enableHotkeys: true, |
374 | peertubeLink: false, | 374 | peertubeLink: false, |