fix: restore opacity when replaying same video after image scene

This commit is contained in:
2026-06-09 12:32:48 +08:00
parent ed435f790f
commit 652162f565

View File

@@ -83,6 +83,7 @@ export class VideoManager {
if (!this.elA || this.switching) return
if (src === this.currentSrc) {
this.active.style.opacity = '1'
this.active.currentTime = 0
this.active.play().catch(() => {})
return