1.video宽度为100%,高度为自动时,计算video的高度:document.getElementById('video1').offsetHeight;
2.阻止页面滚动和解除页面滚动:
$('body').on('touchmove',function(ev) { ev.preventDefault(); });
$('body').off('touchmove');
3.