mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix test embed page
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user