aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/test-embed.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-08 14:51:44 +0200
committerChocobozzz <me@florianbigard.com>2020-04-08 14:52:28 +0200
commit6ccdf9d53e4d68bcdf49bb7098c382d059988c4e (patch)
tree2f6bc3008bc9fbc8b15115827e32f5a1cf88904b /client/src/standalone/videos/test-embed.ts
parentafd1a6ed49e44858848461614e2438c82e521d21 (diff)
downloadPeerTube-6ccdf9d53e4d68bcdf49bb7098c382d059988c4e.tar.gz
PeerTube-6ccdf9d53e4d68bcdf49bb7098c382d059988c4e.tar.zst
PeerTube-6ccdf9d53e4d68bcdf49bb7098c382d059988c4e.zip
Add duration in embed api playbackStatusUpdate
Diffstat (limited to 'client/src/standalone/videos/test-embed.ts')
-rw-r--r--client/src/standalone/videos/test-embed.ts2
1 files changed, 1 insertions, 1 deletions
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 () => {
8 const videoId = lastPart.indexOf('?') === -1 ? lastPart : lastPart.split('?')[ 0 ] 8 const videoId = lastPart.indexOf('?') === -1 ? lastPart : lastPart.split('?')[ 0 ]
9 9
10 const iframe = document.createElement('iframe') 10 const iframe = document.createElement('iframe')
11 iframe.src = `/videos/embed/${videoId}?autoplay=1&controls=0&api=1` 11 iframe.src = `/videos/embed/${videoId}?api=1`
12 12
13 const mainElement = document.querySelector('#host') 13 const mainElement = document.querySelector('#host')
14 mainElement.appendChild(iframe) 14 mainElement.appendChild(iframe)