aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts1
-rw-r--r--client/src/assets/player/types/manager-options.ts2
2 files changed, 3 insertions, 0 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index 1b2a67c77..b24b6966e 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -110,6 +110,7 @@ export class PeertubePlayerManager {
110 110
111 if (isMobile()) player.peertubeMobile() 111 if (isMobile()) player.peertubeMobile()
112 if (options.common.enableHotkeys === true) player.peerTubeHotkeysPlugin() 112 if (options.common.enableHotkeys === true) player.peerTubeHotkeysPlugin()
113 if (options.common.controlBar === false) player.controlBar.addClass('control-bar-hidden')
113 114
114 player.bezels() 115 player.bezels()
115 116
diff --git a/client/src/assets/player/types/manager-options.ts b/client/src/assets/player/types/manager-options.ts
index 456ef115e..a6f00876f 100644
--- a/client/src/assets/player/types/manager-options.ts
+++ b/client/src/assets/player/types/manager-options.ts
@@ -21,6 +21,8 @@ export interface CustomizationOptions {
21 stopTime: number | string 21 stopTime: number | string
22 22
23 controls?: boolean 23 controls?: boolean
24 controlBar?: boolean
25
24 muted?: boolean 26 muted?: boolean
25 loop?: boolean 27 loop?: boolean
26 subtitle?: string 28 subtitle?: string