<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>案例</title>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<script src="js/jquery-1.8.3.min.js"></script>
<link rel="stylesheet" href="zy.media.min.css">
<link href="" rel="stylesheet">
<style type="text/css">
#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}
</style>
</head>
<body onmousewheel="return false;">
<div class="playvideo">
<div class="zy_media">
<video poster="https://r1.ykimg.com/05420408584A363C6A0A47047DD24931" data-config='{"mediaTitle": "测试视频--视频"}' id="modelViews">
<source src="http://www.w3cschool.cc/try/demo_source/mov_bbb.mp4" type="video/mp4" >
您的浏览器不支持HTML5视频
</video>
</div>
<div id="modelView"> </div>
</div>
<script src="zy.media.min.js"></script>
<script>
//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())});
</script>
</body>
</html>
上面的视频播放完后怎么跳转到百度尼?
https://zhidao.baidu.com/ques...
给你个建议吧,以后提问题,先去查查,不要搜索播放完视频怎么跳转去百度。而是去查:监听视频播放 js
尽量让你的关键词短,或者换个角度搜索。你要的不是跳转,要的是怎么知道视频播放完。