Skip to content

Commit

Permalink
Disable progress event in example
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaskorz committed Jan 11, 2024
1 parent cc66400 commit 879e323
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 879e323

Please sign in to comment.