Commit 7307d706 by doszhang

dos

parent 2093e244
...@@ -189,11 +189,11 @@ function jumpTolink(event) { ...@@ -189,11 +189,11 @@ function jumpTolink(event) {
function playVideo(event) { function playVideo(event) {
const id = event.data.id; const id = event.data.id;
if (id == 1) { if (id == 'video1') {
video1.play() video1.play()
} else if (id == 2) { } else if (id == 'video2') {
video2.play() video2.play()
} else if (id == 3) { } else if (id == 'video3') {
video3.play() video3.play()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment