feat: ignore playing error

This commit is contained in:
shinya
2025-07-09 10:21:57 +08:00
parent fba049ef9f
commit e20dc8f4df

View File

@@ -1027,6 +1027,9 @@ function PlayPageClient() {
artPlayerRef.current.on('error', (err: any) => {
console.error('播放器错误:', err);
if (artPlayerRef.current.currentTime > 0) {
return;
}
setError('视频播放失败');
});