...
|
...
|
@@ -148,15 +148,18 @@ function videoInit() { |
|
|
}
|
|
|
|
|
|
$('.video-bg').on('click', function() {
|
|
|
let v = $(this).nextAll('video')[0];
|
|
|
|
|
|
v.play();
|
|
|
if (isAndroid && !isWechat) {
|
|
|
$('.video').addClass('android');
|
|
|
$('.video-android-bg').removeClass('hide');
|
|
|
$('.video-android-close').removeClass('hide');
|
|
|
if (isAndroid) {
|
|
|
$(this).nextAll('.video').addClass('android');
|
|
|
$(this).nextAll('.video-android-bg').removeClass('hide');
|
|
|
$(this).nextAll('.video-android-close').removeClass('hide');
|
|
|
$('body').css('overflow', 'hidden').on('touchmove', cancelMove);
|
|
|
}
|
|
|
|
|
|
let v = $(this).nextAll('video')[0];
|
|
|
|
|
|
setTimeout(function() {
|
|
|
v.play();
|
|
|
}, 0);
|
|
|
});
|
|
|
|
|
|
$('.video-android-close').on('click', function() {
|
...
|
...
|
|