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.ts1
1 files changed, 1 insertions, 0 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 c78f5b9a2..80aa8ebe4 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -477,6 +477,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
477 477
478 this.zone.runOutsideAngular(async () => { 478 this.zone.runOutsideAngular(async () => {
479 this.player = await PeertubePlayerManager.initialize(mode, options, player => this.player = player) 479 this.player = await PeertubePlayerManager.initialize(mode, options, player => this.player = player)
480 this.player.focus()
480 481
481 this.player.on('customError', ({ err }: { err: any }) => this.handleError(err)) 482 this.player.on('customError', ({ err }: { err: any }) => this.handleError(err))
482 483