From 7ede74add2d41958f3aad0053afc812698f261a0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 4 Jun 2020 16:06:03 +0200 Subject: Support player hotkeys when it is not focused --- client/src/app/+videos/+video-watch/video-watch.component.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'client/src/app') 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 5b0b34c80..933e6c51f 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts @@ -467,7 +467,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { this.zone.runOutsideAngular(async () => { this.player = await PeertubePlayerManager.initialize(playerMode, playerOptions, player => this.player = player) - this.player.focus() this.player.on('customError', ({ err }: { err: any }) => this.handleError(err)) -- cgit v1.2.3