Fix test embed page

This commit is contained in:
Chocobozzz 2020-12-14 15:19:10 +01:00
parent 40c52969f7
commit 7a13d0320b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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)