diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-16 11:11:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-16 11:11:20 +0200 |
commit | 95d5113575ffe7872861352fec0adc35bbd8754d (patch) | |
tree | 581ad51f75928d359c3a4faf53d05227747fd4d5 /client/src/app/videos | |
parent | 3dfa84940273619ae00f11a5f419a5e4876b2f53 (diff) | |
download | PeerTube-95d5113575ffe7872861352fec0adc35bbd8754d.tar.gz PeerTube-95d5113575ffe7872861352fec0adc35bbd8754d.tar.zst PeerTube-95d5113575ffe7872861352fec0adc35bbd8754d.zip |
Translate player according to the interface lang
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 3 |
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 5fba1b12d..0909b13f5 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -407,7 +407,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
407 | peertubeLink: false, | 407 | peertubeLink: false, |
408 | poster: this.video.previewUrl, | 408 | poster: this.video.previewUrl, |
409 | startTime, | 409 | startTime, |
410 | theaterMode: true | 410 | theaterMode: true, |
411 | language: this.localeId | ||
411 | }) | 412 | }) |
412 | 413 | ||
413 | if (this.videojsLocaleLoaded === false) { | 414 | if (this.videojsLocaleLoaded === false) { |