From 1f06234bdc0e30e7c2fa21e76ea65fde24163425 Mon Sep 17 00:00:00 2001 From: Jin Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] :feat add tips (#23) Co-authored-by: jinwentao --- public/index.html | 4 ++++ src/Controller.html | 5 +++-- src/Player.html | 41 ++++++++++++++++++++++++++++++++++++----- src/utils.js | 17 +++++++++++++++++ 4 files changed, 60 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index 7e6ff699..e9a0b02e 100644 --- a/public/index.html +++ b/public/index.html @@ -19,6 +19,10 @@ target: document.body, data: { events, + skipInactive: true, + showDebug: false, + autoPlay: false, + showWarning: false, }, }); component.addEventListener('finish', () => console.log('finish')); diff --git a/src/Controller.html b/src/Controller.html index 02127069..27649d57 100644 --- a/src/Controller.html +++ b/src/Controller.html @@ -55,7 +55,7 @@ {/if} - {#each [1, 2, 4, 8] as s} + {#each speedOption as s}