From 7a13d0320bf0b8305e5727a0ac9708e64489e3e8 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 14 Dec 2020 15:19:10 +0100 Subject: Fix test embed page --- client/src/standalone/videos/test-embed.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') 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 () => { const iframe = document.createElement('iframe') iframe.src = isPlaylist - ? `/videos/embed/${elementId}?api=1` - : `/video-playlists/embed/${elementId}?api=1` + ? `/video-playlists/embed/${elementId}?api=1` + : `/videos/embed/${elementId}?api=1` const mainElement = document.querySelector('#host') mainElement.appendChild(iframe) -- cgit v1.2.3