From 879e323842bd2a08624b42b9b310df270d58cd26 Mon Sep 17 00:00:00 2001 From: Niklas Korz Date: Thu, 11 Jan 2024 17:37:22 +0100 Subject: [PATCH] Disable progress event in example --- example/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/main.js b/example/main.js index e09b0fa..9723ade 100644 --- a/example/main.js +++ b/example/main.js @@ -37,9 +37,12 @@ player.on("timeupdate", ({ seconds, duration }) => { }); */ +// this can be a bit chatty for a demo, so it's disabled +/* player.on("progress", ({ percent }) => { println("Event: progress " + JSON.stringify({ percent }, null, 2)); }); +*/ player.on("seeked", () => { println("Event: seeked");