X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fstandalone%2Fvideos%2Ftest-embed.ts;h=a4b54782c7e8927ab078c4750ba0bf3f1eb742ad;hb=6ccdf9d53e4d68bcdf49bb7098c382d059988c4e;hp=202e86667c646e32eb2a81b0f0edae7ee0f41dee;hpb=afd1a6ed49e44858848461614e2438c82e521d21;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/standalone/videos/test-embed.ts b/client/src/standalone/videos/test-embed.ts index 202e86667..a4b54782c 100644 --- a/client/src/standalone/videos/test-embed.ts +++ b/client/src/standalone/videos/test-embed.ts @@ -8,7 +8,7 @@ window.addEventListener('load', async () => { const videoId = lastPart.indexOf('?') === -1 ? lastPart : lastPart.split('?')[ 0 ] const iframe = document.createElement('iframe') - iframe.src = `/videos/embed/${videoId}?autoplay=1&controls=0&api=1` + iframe.src = `/videos/embed/${videoId}?api=1` const mainElement = document.querySelector('#host') mainElement.appendChild(iframe)