修复暂停播放记录报错两次

This commit is contained in:
mtvpls
2025-12-31 00:30:35 +08:00
parent 1eea226ea7
commit 15e3a7bd75

View File

@@ -4777,10 +4777,6 @@ function PlayPageClient() {
}
});
artPlayerRef.current.on('pause', () => {
saveCurrentPlayProgress();
});
if (artPlayerRef.current?.video) {
ensureVideoSource(
artPlayerRef.current.video as HTMLVideoElement,