aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-26 13:37:18 +0200
committerChocobozzz <me@florianbigard.com>2021-07-26 13:37:18 +0200
commita66424978c681af87aaee92ce6d2ca600d79b82c (patch)
tree77d40b1aadae11c7e3570a01704bce2b445962d5
parentc1936140b9b61f44f53d05c7ef55cb5701a3f4e7 (diff)
downloadPeerTube-a66424978c681af87aaee92ce6d2ca600d79b82c.tar.gz
PeerTube-a66424978c681af87aaee92ce6d2ca600d79b82c.tar.zst
PeerTube-a66424978c681af87aaee92ce6d2ca600d79b82c.zip
Fix URL copy in embed
-rw-r--r--client/src/assets/player/utils.ts2
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