Commit 1ae30d2b by doszhang

dos

parent e98fc45a
...@@ -144,6 +144,7 @@ $(document).ready(function () { ...@@ -144,6 +144,7 @@ $(document).ready(function () {
video1.addEventListener('pause', function () { video1.addEventListener('pause', function () {
console.log('1 pause'); console.log('1 pause');
alert('1 pause');
if (videoBreak) { if (videoBreak) {
videoBreak = false; videoBreak = false;
...@@ -170,7 +171,7 @@ $(document).ready(function () { ...@@ -170,7 +171,7 @@ $(document).ready(function () {
video1.addEventListener('play', function () { video1.addEventListener('play', function () {
console.log('1 play'); console.log('1 play');
alert('1 play')
play = 'video1'; play = 'video1';
$('#music')[0].pause(); $('#music')[0].pause();
video2.pause(); 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