From d77014491b339b4dcfab95c05507dd5f579a6d7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 9 Jan 2018 15:40:46 +0100 Subject: Add hotkeys in video player Double click for full screen --- client/src/standalone/videos/embed.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src/standalone') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index f44aca9c3..e27eadc8b 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -42,7 +42,8 @@ loadVideoInfo(videoId, (err, videoInfo) => { videoFiles: videoInfo.files, playerElement: videoElement, peerTubeLink: true - } + }, + hotkeys: {} } } videojs('video-container', videojsOptions, function () { -- cgit v1.2.3