]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/standalone/videos/test-embed.ts
Add duration in embed api playbackStatusUpdate
[github/Chocobozzz/PeerTube.git] / client / src / standalone / videos / test-embed.ts
index 202e86667c646e32eb2a81b0f0edae7ee0f41dee..a4b54782c7e8927ab078c4750ba0bf3f1eb742ad 100644 (file)
@@ -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)