aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/images/feather/octagon.svg3
-rw-r--r--client/src/assets/player/utils.ts6
2 files changed, 6 insertions, 3 deletions
diff --git a/client/src/assets/images/feather/octagon.svg b/client/src/assets/images/feather/octagon.svg
new file mode 100644
index 000000000..1ed9bacbf
--- /dev/null
+++ b/client/src/assets/images/feather/octagon.svg
@@ -0,0 +1,3 @@
1<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-octagon">
2 <polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon>
3</svg>
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index d7451fa1d..2bb70d1fa 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/', '/watch/') 68 : window.location.origin + window.location.pathname.replace('/embed/', '/w/')
69 69
70 const params = generateParams(window.location.search) 70 const params = generateParams(window.location.search)
71 71
@@ -95,13 +95,13 @@ function buildVideoLink (options: {
95function buildPlaylistLink (options: { 95function buildPlaylistLink (options: {
96 baseUrl?: string 96 baseUrl?: string
97 97
98 playlistPosition: number 98 playlistPosition?: number
99}) { 99}) {
100 const { baseUrl } = options 100 const { baseUrl } = options
101 101
102 const url = baseUrl 102 const url = baseUrl
103 ? baseUrl 103 ? baseUrl
104 : window.location.origin + window.location.pathname.replace('/video-playlists/embed/', '/videos/watch/playlist/') 104 : window.location.origin + window.location.pathname.replace('/video-playlists/embed/', '/w/p/')
105 105
106 const params = generateParams(window.location.search) 106 const params = generateParams(window.location.search)
107 107