html播放完视频自动关闭,html视频播放完后跳转
#modelView{background-color:#DDDDDD;z-index:0;opacity:0.7;height: 100%;width: 100%;position: relative;}
.playvideo{padding-top: auto;z-index: 9999;position: relative;}
.zy_media{z-index: 999999999}
您的瀏覽器不支持HTML5視頻
//document.documentElement.style.overflow='hidden';
document.body.style.overflow='hidden';
zymedia('video',{autoplay: true});
var screenheight = window.screen.height/2;
$("#modelView").width(window.screen.width);
$("#modelView").height(window.screen.height);
var videoheight = $(".zy_media").height()/2;
var padding_top = screenheight-videoheight;
$(".playvideo").css({"top":padding_top});
$("#modelView").css({"margin-top":-1*(padding_top+$(".zy_media").height())});
上面的視頻播放完后怎么跳轉到百度尼?
總結
以上是生活随笔為你收集整理的html播放完视频自动关闭,html视频播放完后跳转的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: html5语义化标签marquee,高效
- 下一篇: html转word并保持格式不变,表格从