fix: restore opacity when replaying same video after image scene
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user