diff options
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.scss | 5 | ||||
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index d1f840937..00e776a69 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss | |||
@@ -21,6 +21,11 @@ | |||
21 | position: relative !important; | 21 | position: relative !important; |
22 | } | 22 | } |
23 | } | 23 | } |
24 | |||
25 | /deep/ .video-js.vjs-theater-enabled { | ||
26 | width: 100%; | ||
27 | height: calc(100vh - #{$header-height} - #{$theater-bottom-space}); | ||
28 | } | ||
24 | } | 29 | } |
25 | 30 | ||
26 | #video-not-found { | 31 | #video-not-found { |
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 0f4f5ce89..eefa43a73 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -368,7 +368,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
368 | enableHotkeys: true, | 368 | enableHotkeys: true, |
369 | peertubeLink: false, | 369 | peertubeLink: false, |
370 | poster: this.video.previewUrl, | 370 | poster: this.video.previewUrl, |
371 | startTime | 371 | startTime, |
372 | theaterMode: true | ||
372 | }) | 373 | }) |
373 | 374 | ||
374 | if (this.videojsLocaleLoaded === false) { | 375 | if (this.videojsLocaleLoaded === false) { |