diff options
author | Chocobozzz <me@florianbigard.com> | 2020-03-20 15:04:02 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-03-20 15:04:02 +0100 |
commit | 5ab994fe8e131c83a81d40ee86e86737de911e17 (patch) | |
tree | 995693f43cd536af8a1a19607a809d8b90ec159d /client/src | |
parent | 6cb556449064278bdcb1a54a7b980c2e7bc735f0 (diff) | |
download | PeerTube-5ab994fe8e131c83a81d40ee86e86737de911e17.tar.gz PeerTube-5ab994fe8e131c83a81d40ee86e86737de911e17.tar.zst PeerTube-5ab994fe8e131c83a81d40ee86e86737de911e17.zip |
Fix embed api documentation
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/standalone/videos/test-embed.ts | 2 |
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 e5e6365dc..202e86667 100644 --- a/client/src/standalone/videos/test-embed.ts +++ b/client/src/standalone/videos/test-embed.ts | |||
@@ -30,7 +30,7 @@ window.addEventListener('load', async () => { | |||
30 | ] | 30 | ] |
31 | 31 | ||
32 | monitoredEvents.forEach(e => { | 32 | monitoredEvents.forEach(e => { |
33 | player.addEventListener(e as PlayerEventType, () => console.log(`PLAYER: event '${e}' received`)) | 33 | player.addEventListener(e as PlayerEventType, (param) => console.log(`PLAYER: event '${e}' received`, param)) |
34 | console.log(`PLAYER: now listening for event '${e}'`) | 34 | console.log(`PLAYER: now listening for event '${e}'`) |
35 | }) | 35 | }) |
36 | 36 | ||