diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-18 20:20:04 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2019-12-18 20:20:11 +0100 |
commit | 62ab565d1c772764c77dec0df75ce64b19c57119 (patch) | |
tree | 0b30fd73f78ad38ed54736212f9cc5e16bb074fb /client/src/app/videos | |
parent | 2a5518a667ef219e560214cdecd03a45d96aa6b1 (diff) | |
download | PeerTube-62ab565d1c772764c77dec0df75ce64b19c57119.tar.gz PeerTube-62ab565d1c772764c77dec0df75ce64b19c57119.tar.zst PeerTube-62ab565d1c772764c77dec0df75ce64b19c57119.zip |
Add play/pause bezels to the video player
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 1 |
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 835e9e34a..9eae45fed 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -469,6 +469,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
469 | this.zone.runOutsideAngular(async () => { | 469 | this.zone.runOutsideAngular(async () => { |
470 | this.player = await PeertubePlayerManager.initialize(playerMode, playerOptions, player => this.player = player) | 470 | this.player = await PeertubePlayerManager.initialize(playerMode, playerOptions, player => this.player = player) |
471 | this.player.focus() | 471 | this.player.focus() |
472 | this.player.bezels() | ||
472 | 473 | ||
473 | this.player.on('customError', ({ err }: { err: any }) => this.handleError(err)) | 474 | this.player.on('customError', ({ err }: { err: any }) => this.handleError(err)) |
474 | 475 | ||