史悦 c3877be35d fix(player): refactor audio element handling and improve auto-play reliability
- Replace detached `new Audio()` with rendered `<audio>` element to better support mobile behaviors and standard DOM events
- Introduce `autoAdvanceLockRef` to prevent race conditions where the next song might be triggered multiple times
- Add manual time check near the end of the track to trigger auto-advance, acting as a fallback for the `ended` event
- Update `playNext` logic to handle immediate playback transitions more robustly
2026-01-07 10:08:35 +08:00
2026-01-06 10:27:08 +08:00
2026-01-06 10:27:08 +08:00
2026-01-06 15:03:06 +08:00
2026-01-06 10:32:41 +08:00
Description
No description provided
902 KiB
Languages
HTML 56.6%
JavaScript 43.1%
Dockerfile 0.3%