diff options
-rw-r--r-- | client/src/assets/player/utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts index 2bb70d1fa..f26176acc 100644 --- a/client/src/assets/player/utils.ts +++ b/client/src/assets/player/utils.ts | |||
@@ -65,7 +65,7 @@ function buildVideoLink (options: { | |||
65 | 65 | ||
66 | const url = baseUrl | 66 | const url = baseUrl |
67 | ? baseUrl | 67 | ? baseUrl |
68 | : window.location.origin + window.location.pathname.replace('/embed/', '/w/') | 68 | : window.location.origin + window.location.pathname.replace('/videos/embed/', '/w/') |
69 | 69 | ||
70 | const params = generateParams(window.location.search) | 70 | const params = generateParams(window.location.search) |
71 | 71 | ||