aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/test-embed.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-12-14 15:19:10 +0100
committerChocobozzz <me@florianbigard.com>2020-12-14 16:04:37 +0100
commit7a13d0320bf0b8305e5727a0ac9708e64489e3e8 (patch)
treebc60501a080421711a286159eaedb0cf71adef0f /client/src/standalone/videos/test-embed.ts
parent40c52969f731b9102d4b33c4f5a80bfbbc651894 (diff)
downloadPeerTube-7a13d0320bf0b8305e5727a0ac9708e64489e3e8.tar.gz
PeerTube-7a13d0320bf0b8305e5727a0ac9708e64489e3e8.tar.zst
PeerTube-7a13d0320bf0b8305e5727a0ac9708e64489e3e8.zip
Fix test embed page
Diffstat (limited to 'client/src/standalone/videos/test-embed.ts')
-rw-r--r--client/src/standalone/videos/test-embed.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/standalone/videos/test-embed.ts b/client/src/standalone/videos/test-embed.ts
index 5f8e97562..6e035c0c9 100644
--- a/client/src/standalone/videos/test-embed.ts
+++ b/client/src/standalone/videos/test-embed.ts
@@ -12,8 +12,8 @@ window.addEventListener('load', async () => {
12 12
13 const iframe = document.createElement('iframe') 13 const iframe = document.createElement('iframe')
14 iframe.src = isPlaylist 14 iframe.src = isPlaylist
15 ? `/videos/embed/${elementId}?api=1` 15 ? `/video-playlists/embed/${elementId}?api=1`
16 : `/video-playlists/embed/${elementId}?api=1` 16 : `/videos/embed/${elementId}?api=1`
17 17
18 const mainElement = document.querySelector('#host') 18 const mainElement = document.querySelector('#host')
19 mainElement.appendChild(iframe) 19 mainElement.appendChild(iframe)