修复暂停播放记录报错两次
This commit is contained in:
@@ -4777,10 +4777,6 @@ function PlayPageClient() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
artPlayerRef.current.on('pause', () => {
|
|
||||||
saveCurrentPlayProgress();
|
|
||||||
});
|
|
||||||
|
|
||||||
if (artPlayerRef.current?.video) {
|
if (artPlayerRef.current?.video) {
|
||||||
ensureVideoSource(
|
ensureVideoSource(
|
||||||
artPlayerRef.current.video as HTMLVideoElement,
|
artPlayerRef.current.video as HTMLVideoElement,
|
||||||
|
|||||||
Reference in New Issue
Block a user