aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player')
-rw-r--r--client/src/assets/player/utils.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index 777abb568..629634985 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -51,6 +51,8 @@ function buildVideoLink (options: {
51 : window.location.origin + window.location.pathname.replace('/embed/', '/watch/') 51 : window.location.origin + window.location.pathname.replace('/embed/', '/watch/')
52 52
53 const params = new URLSearchParams(window.location.search) 53 const params = new URLSearchParams(window.location.search)
54 // Remove this unused parameter when we are on a playlist page
55 params.delete('videoId')
54 56
55 if (options.startTime) { 57 if (options.startTime) {
56 const startTimeInt = Math.floor(options.startTime) 58 const startTimeInt = Math.floor(options.startTime)