Commit dbfd6056 by doszhang

dos

parent 6880b4b6
......@@ -180,6 +180,7 @@ $(document).ready(function () {
video1.addEventListener('play', function () {
play = 'video1';
$('#music')[0].pause();
musicStatus = false;
video2.pause();
videoBreak = true;
video3.pause();
......@@ -189,6 +190,7 @@ $(document).ready(function () {
video2.addEventListener('play', function () {
play = 'video2';
$('#music')[0].pause();
musicStatus = false;
video1.pause();
videoBreak = true;
video3.pause();
......@@ -197,6 +199,7 @@ $(document).ready(function () {
video3.addEventListener('play', function () {
play = 'video3';
$('#music')[0].pause();
musicStatus = false;
video1.pause();
videoBreak = true;
video2.pause();
......
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