aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts3
1 files changed, 2 insertions, 1 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 9973fad0d..e09e44809 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -32,7 +32,7 @@ import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.
32import { Video } from '@app/shared/video/video.model' 32import { 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 { getStoredP2PEnabled, getStoredTheater } from '../../../assets/player/peertube-player-local-storage'
36import { HooksService } from '@app/core/plugins/hooks.service' 36import { HooksService } from '@app/core/plugins/hooks.service'
37import { PlatformLocation } from '@angular/common' 37import { PlatformLocation } from '@angular/common'
38import { RecommendedVideosComponent } from '../recommendations/recommended-videos.component' 38import { RecommendedVideosComponent } from '../recommendations/recommended-videos.component'
@@ -128,6 +128,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
128 if ( 128 if (
129 isWebRTCDisabled() || 129 isWebRTCDisabled() ||
130 this.serverConfig.tracker.enabled === false || 130 this.serverConfig.tracker.enabled === false ||
131 getStoredP2PEnabled() === false ||
131 peertubeLocalStorage.getItem(VideoWatchComponent.LOCAL_STORAGE_PRIVACY_CONCERN_KEY) === 'true' 132 peertubeLocalStorage.getItem(VideoWatchComponent.LOCAL_STORAGE_PRIVACY_CONCERN_KEY) === 'true'
132 ) { 133 ) {
133 this.hasAlreadyAcceptedPrivacyConcern = true 134 this.hasAlreadyAcceptedPrivacyConcern = true