Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix URL copy in embed

Chocobozzza66424978c68
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index 2bb70d1fa1..f26176accd 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -65,7 +65,7 @@ function buildVideoLink (options: {
const url = baseUrl
? baseUrl
- : window.location.origin + window.location.pathname.replace('/embed/', '/w/')
+ : window.location.origin + window.location.pathname.replace('/videos/embed/', '/w/')
const params = generateParams(window.location.search)