Commit 4192ab03 by agan

提交

parent 3ca8abe2
Showing with 13 additions and 4 deletions
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
<div class="videoCon"> <div class="videoCon">
<video id="video" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" <video id="video" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true"
x5-video-player-type="h5" x5-video-player-fullscreen="true" x5-video-player-type="h5" x5-video-player-fullscreen="true"
style="width: 100%;height: 100%;object-fit: fill;z-index: -1;" autoplay="autoplay" muted="false" style="width: 100%;height: 100%;object-fit: fill;z-index: -1;" autoplay="autoplay"
loop="loop"> muted="false" loop="loop">
<source src="https://footseen.com/video/video.mp4" type="video/mp4"> <source src="https://footseen.com/video/video.mp4" type="video/mp4">
</source> </source>
</video> </video>
...@@ -112,14 +112,20 @@ ...@@ -112,14 +112,20 @@
} }
touchB = false; touchB = false;
curp++; curp++;
if (curp == 1) {
$('#video')[0].muted = false;
}
if (curp == 2) { if (curp == 2) {
$('#video')[0].muted = true;
$('.wipeUp').hide(); $('.wipeUp').hide();
$('.downloadBtn2').show(); $('.downloadBtn2').show();
if (!$('.rVideos').html()) { if (!$('.rVideos').html()) {
getVList(); getVList();
} }
} else { } else {
$('#video')[0].muted = true;
$('.wipeUp').show(); $('.wipeUp').show();
$('.downloadBtn2').hide(); $('.downloadBtn2').hide();
} }
...@@ -136,14 +142,18 @@ ...@@ -136,14 +142,18 @@
} }
touchB = false; touchB = false;
curp--; curp--;
if (curp == 1) {
$('#video')[0].muted = false;
}
if (curp == 2) { if (curp == 2) {
$('#video')[0].muted = true;
$('.wipeUp').hide(); $('.wipeUp').hide();
$('.downloadBtn2').show(); $('.downloadBtn2').show();
if (!$('.rVideos').html()) { if (!$('.rVideos').html()) {
getVList(); getVList();
} }
} else { } else {
$('#video')[0].muted = true;
$('.wipeUp').show(); $('.wipeUp').show();
$('.downloadBtn2').hide(); $('.downloadBtn2').hide();
} }
...@@ -172,7 +182,6 @@ ...@@ -172,7 +182,6 @@
} else { } else {
iosData = 'iosftsB'; iosData = 'iosftsB';
} }
$('#video')[0].muted = false;
$(".iosDown,.downloadBtn2").on("click", function () { $(".iosDown,.downloadBtn2").on("click", function () {
clickDownload(function (data) { clickDownload(function (data) {
var mData = ''; var mData = '';
......
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