aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/utils.ts')
-rw-r--r--client/src/assets/player/utils.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index 38f2482eb..fa902e1f1 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -51,8 +51,9 @@ 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 54 // Remove these unused parameters when we are on a playlist page
55 params.delete('videoId') 55 params.delete('videoId')
56 params.delete('resume')
56 57
57 if (options.startTime) { 58 if (options.startTime) {
58 const startTimeInt = Math.floor(options.startTime) 59 const startTimeInt = Math.floor(options.startTime)