aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/peertube-player-manager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/peertube-player-manager.ts')
-rw-r--r--client/src/assets/player/peertube-player-manager.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts
index 7c7c9ad2a..4ddbaed82 100644
--- a/client/src/assets/player/peertube-player-manager.ts
+++ b/client/src/assets/player/peertube-player-manager.ts
@@ -63,7 +63,7 @@ export interface CommonOptions extends CustomizationOptions {
63 inactivityTimeout: number 63 inactivityTimeout: number
64 poster: string 64 poster: string
65 65
66 theaterMode: boolean 66 theaterButton: boolean
67 captions: boolean 67 captions: boolean
68 68
69 videoViewUrl: string 69 videoViewUrl: string
@@ -311,7 +311,7 @@ export class PeertubePlayerManager {
311 children: this.getControlBarChildren(mode, { 311 children: this.getControlBarChildren(mode, {
312 captions: commonOptions.captions, 312 captions: commonOptions.captions,
313 peertubeLink: commonOptions.peertubeLink, 313 peertubeLink: commonOptions.peertubeLink,
314 theaterMode: commonOptions.theaterMode 314 theaterButton: commonOptions.theaterButton
315 }) 315 })
316 } 316 }
317 } 317 }
@@ -382,7 +382,7 @@ export class PeertubePlayerManager {
382 382
383 private static getControlBarChildren (mode: PlayerMode, options: { 383 private static getControlBarChildren (mode: PlayerMode, options: {
384 peertubeLink: boolean 384 peertubeLink: boolean
385 theaterMode: boolean, 385 theaterButton: boolean,
386 captions: boolean 386 captions: boolean
387 }) { 387 }) {
388 const settingEntries = [] 388 const settingEntries = []
@@ -432,7 +432,7 @@ export class PeertubePlayerManager {
432 }) 432 })
433 } 433 }
434 434
435 if (options.theaterMode === true) { 435 if (options.theaterButton === true) {
436 Object.assign(children, { 436 Object.assign(children, {
437 'theaterButton': {} 437 'theaterButton': {}
438 }) 438 })