Skip to content

Commit a2e9d60

Browse files
committed
video play bug
1 parent e39a778 commit a2e9d60

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

static/script.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,10 @@ class VideoHandler {
130130
}
131131

132132
window.addEventListener("load", (event) => {
133+
let vd = new VideoHandler();
133134
setTimeout(() => {
134135
initAnimation();
136+
vd.video.play();
135137
}, 200);
136-
137-
let vd = new VideoHandler();
138-
vd.video.play();
139-
// vd.change_video();
140138

141139
});

0 commit comments

Comments
 (0)