Commit 07d3d9bf by doszhang

dos

parent 7edfe962
......@@ -143,15 +143,27 @@ $(document).ready(function () {
// $('.logo').css('top',getTranslateDistance(15));
video1.addEventListener('pause', function () {
$('#music')[0].play();
if (videoBreak) {
videoBreak = false;
} else {
$('#music')[0].play();
}
});
video2.addEventListener('pause', function () {
$('#music')[0].play();
if (videoBreak) {
videoBreak = false;
} else {
$('#music')[0].play();
}
});
video3.addEventListener('pause', function () {
$('#music')[0].play();
if (videoBreak) {
videoBreak = false;
} else {
$('#music')[0].play();
}
});
video1.addEventListener('play', function () {
......
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