From 95d5113575ffe7872861352fec0adc35bbd8754d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 16 Aug 2018 11:11:20 +0200 Subject: Translate player according to the interface lang --- client/src/app/videos/+video-watch/video-watch.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts') 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 { peertubeLink: false, poster: this.video.previewUrl, startTime, - theaterMode: true + theaterMode: true, + language: this.localeId }) if (this.videojsLocaleLoaded === false) { -- cgit v1.2.3