From 5ab994fe8e131c83a81d40ee86e86737de911e17 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 20 Mar 2020 15:04:02 +0100 Subject: Fix embed api documentation --- client/src/standalone/videos/test-embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/standalone/videos') 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 () => { ] monitoredEvents.forEach(e => { - player.addEventListener(e as PlayerEventType, () => console.log(`PLAYER: event '${e}' received`)) + player.addEventListener(e as PlayerEventType, (param) => console.log(`PLAYER: event '${e}' received`, param)) console.log(`PLAYER: now listening for event '${e}'`) }) -- cgit v1.2.3