diff options
Diffstat (limited to 'client/src/assets')
-rw-r--r-- | client/src/assets/player/utils.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts index 20d97c7e2..115fdfa49 100644 --- a/client/src/assets/player/utils.ts +++ b/client/src/assets/player/utils.ts | |||
@@ -58,6 +58,7 @@ function buildVideoLink (options: { | |||
58 | title?: boolean, | 58 | title?: boolean, |
59 | warningTitle?: boolean, | 59 | warningTitle?: boolean, |
60 | controls?: boolean | 60 | controls?: boolean |
61 | peertubeLink?: boolean | ||
61 | } = {}) { | 62 | } = {}) { |
62 | const { baseUrl } = options | 63 | const { baseUrl } = options |
63 | 64 | ||
@@ -88,6 +89,7 @@ function buildVideoLink (options: { | |||
88 | if (options.title === false) params.set('title', '0') | 89 | if (options.title === false) params.set('title', '0') |
89 | if (options.warningTitle === false) params.set('warningTitle', '0') | 90 | if (options.warningTitle === false) params.set('warningTitle', '0') |
90 | if (options.controls === false) params.set('controls', '0') | 91 | if (options.controls === false) params.set('controls', '0') |
92 | if (options.peertubeLink === false) params.set('peertubeLink', '0') | ||
91 | 93 | ||
92 | let hasParams = false | 94 | let hasParams = false |
93 | params.forEach(() => hasParams = true) | 95 | params.forEach(() => hasParams = true) |